Badge-System: personal/general Split, Punkte ohne Zahl, SW by-v328
This commit is contained in:
parent
0a3ad2207e
commit
fc7d743153
4 changed files with 35 additions and 13 deletions
|
|
@ -515,6 +515,7 @@ const API = (() => {
|
|||
const notifications = {
|
||||
list() { return get('/notifications'); },
|
||||
unreadCount() { return get('/notifications/unread-count'); },
|
||||
badge() { return get('/notifications/badge'); },
|
||||
readAll() { return patch('/notifications/read-all', {}); },
|
||||
read(id) { return patch(`/notifications/${id}/read`, {}); },
|
||||
delete(id) { return del(`/notifications/${id}`); },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue