upd: notifikasi

Deskripsi:
- notifikasi saat allowed device
- ios dan android

No Issues
This commit is contained in:
2026-03-04 16:35:59 +08:00
parent 3cc7f76346
commit 608381673f
3 changed files with 33 additions and 5 deletions

View File

@@ -46,7 +46,7 @@ export default function ListSetting() {
try {
const token = await getToken();
if (token) {
await apiUnregisteredToken({ user: entities.id, token });
await apiUnregisteredToken({ user: entities.id, token, category: "unregister" });
}
} catch (error) {
console.warn('Error unregistering token:', error);