cas::graphql::types::alert::query

Function get_alerts

Source
pub async fn get_alerts<'ctx>(
    ctx: &Context<'ctx>,
    id: Option<i32>,
    limit: Option<i64>,
    offset: Option<i64>,
) -> Result<Option<Vec<Alert>>, AppError>
Expand description

Get alerts from the database