feat: tambah fitur tandai semua notifikasi dibaca dengan modal konfirmasi

This commit is contained in:
2026-05-08 14:56:44 +08:00
parent 4eebf2f893
commit 4af54980a0
2 changed files with 55 additions and 3 deletions

View File

@@ -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;