Function autoendpoint::extractors::user::validate_webpush_user

source ·
async fn validate_webpush_user(
    user: &User,
    channel_id: &Uuid,
    db: &dyn DbClient
) -> Result<(), ApiError>
Expand description

Make sure the user is not inactive and the subscription channel exists