resolve issues with new features
This commit is contained in:
@@ -28,4 +28,12 @@ export const notificationsApi = {
|
||||
async markAllRead(): Promise<void> {
|
||||
await api.post('/api/notifications/mark-all-read');
|
||||
},
|
||||
|
||||
async dismissByType(quellTyp: string): Promise<void> {
|
||||
await api.post('/api/notifications/dismiss-by-type', { quellTyp });
|
||||
},
|
||||
|
||||
async deleteAllRead(): Promise<void> {
|
||||
await api.delete('/api/notifications/read');
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user