Skip to main content

mark_read

Function mark_read 

Source
pub async fn mark_read(
    pool: &PgPool,
    actor: &Actor,
    ids: Option<&[Uuid]>,
) -> AppResult<i64>
Expand description

Marks the given notifications (all if None) of the actor as read and returns the remaining unread count.