pub async fn open(
pool: &PgPool,
actor: &Actor,
id: Uuid,
) -> AppResult<Notification>Expand description
Marks one notification of the actor as read and returns it (for its link).
pub async fn open(
pool: &PgPool,
actor: &Actor,
id: Uuid,
) -> AppResult<Notification>Marks one notification of the actor as read and returns it (for its link).