add: mark all notifications as read/unread
fix: anonymous avatar/username
This commit is contained in:
parent
37e68079d8
commit
3f6f1eda9f
7 changed files with 118 additions and 10 deletions
crates/app/src/routes/api/v1
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue