add: mark all notifications as read/unread

fix: anonymous avatar/username
This commit is contained in:
trisua 2025-05-22 22:54:06 -04:00
parent 37e68079d8
commit 3f6f1eda9f
7 changed files with 118 additions and 10 deletions
crates/app/src/routes/api/v1

View file

@ -237,6 +237,10 @@ pub fn routes() -> Router {
"/notifications/{id}/read_status",
post(notifications::update_read_status_request),
)
.route(
"/notifications/all/read_status",
post(notifications::update_all_read_status_request),
)
// community memberships
.route(
"/communities/{id}/join",