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