cas::graphql::types::notification::query

Function get_notifications

Source
pub async fn get_notifications<'ctx>(
    ctx: &Context<'ctx>,
    seen: Option<bool>,
    id: Option<i32>,
    alert_id: Option<i32>,
    limit: Option<i64>,
    offset: Option<i64>,
) -> Result<Option<Vec<Notification>>, AppError>
Expand description

Get notifications from the database