read all
This commit is contained in:
@@ -20,7 +20,7 @@ export const getNotifications = async (
|
||||
};
|
||||
|
||||
export const readAll = async () => {
|
||||
const { data } = await axios.patch(`/admin/notifications/read-all`);
|
||||
const { data } = await axios.put(`/admin/notifications/read/all`);
|
||||
return data;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user