Function guard::api::v1::notifications::add::add_notification[][src]

pub async fn add_notification(
    payload: Json<AddNotification>,
    data: Data<Data>,
    id: Identity
) -> Result<impl Responder, ServiceError>

route handler that adds a notification message