feat: tambah fitur tandai semua notifikasi dibaca dengan modal konfirmasi
This commit is contained in:
@@ -859,6 +859,11 @@ export const apiReadOneNotification = async (data: { user: string, id: string })
|
||||
return response.data;
|
||||
};
|
||||
|
||||
export const apiReadAllNotification = async (data: { user: string }) => {
|
||||
const response = await api.post(`/mobile/home/notification`, data)
|
||||
return response.data;
|
||||
};
|
||||
|
||||
export const apiGetVersion = async () => {
|
||||
const response = await api.get(`mobile/version`);
|
||||
return response.data;
|
||||
|
||||
Reference in New Issue
Block a user