Badge-System: personal/general Split, Punkte ohne Zahl, SW by-v328

This commit is contained in:
rene 2026-04-24 08:39:41 +02:00
parent 0a3ad2207e
commit fc7d743153
4 changed files with 35 additions and 13 deletions

View file

@ -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}`); },