fix: user notification count when clearing notifications
This commit is contained in:
parent
0c509b7001
commit
d67bf26955
1 changed files with 1 additions and 0 deletions
|
@ -209,6 +209,7 @@ impl DataManager {
|
||||||
return Err(Error::DatabaseError(e.to_string()));
|
return Err(Error::DatabaseError(e.to_string()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
self.update_user_notification_count(user.id, 0).await?;
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue