Note:
- Fitur notifikasi ke admin dari user baru - Notifikasi ke user bahwa akunnya telah terverifikasi Fix: - app/(application)/(user)/notifications/index.tsx - app/(application)/(user)/waiting-room.tsx - app/(application)/admin/super-admin/[id]/index.tsx - app/(application)/admin/user-access/[id]/index.tsx - context/AuthContext.tsx - screens/Home/tabsList.ts - service/api-admin/api-admin-user-access.ts - service/api-device-token.ts - service/api-notifications.ts - types/type-notification-category.ts Add: - lib/routeApp.ts ### No Issue
This commit is contained in:
@@ -31,7 +31,7 @@ export async function apiDeviceTokenDeleted({ userId, deviceId }: { userId: stri
|
||||
const response = await apiConfig.delete(
|
||||
`/mobile/auth/device-tokens/${userId}?deviceId=${deviceId}`
|
||||
);
|
||||
console.log("Device token deleted:", response.data);
|
||||
|
||||
return response.data;
|
||||
} catch (error) {
|
||||
console.error("Failed to delete device token:", error);
|
||||
@@ -42,7 +42,7 @@ export async function apiDeviceTokenDeleted({ userId, deviceId }: { userId: stri
|
||||
export async function apiGetAllTokenDevice() {
|
||||
try {
|
||||
const response = await apiConfig.get(`/mobile/auth/device-tokens`);
|
||||
console.log("Device token deleted:", response.data);
|
||||
|
||||
return response.data;
|
||||
} catch (error) {
|
||||
console.error("Failed to delete device token:", error);
|
||||
|
||||
Reference in New Issue
Block a user