fix(webapp): persist motion alerts in activity feed

This commit is contained in:
2026-04-06 13:30:00 +01:00
parent 3e0635fec3
commit 798fffa2a1
3 changed files with 89 additions and 9 deletions

View File

@@ -79,5 +79,8 @@ export const api = {
listRecordings: () => request('/recordings/me/list'),
getRecordingDownloadUrl: (recordingId) => request(`/recordings/${recordingId}/download-url`),
listNotifications: () => request('/push-notifications/me')
},
pushNotifications: {
markRead: (notificationId) => request(`/push-notifications/${notificationId}/read`, { method: 'POST', body: JSON.stringify({}) })
}
};