Fix admin
Deskripsi: - Ganti status developer jadi super admin
This commit is contained in:
9
src/app_modules/_global/lib/api_user.ts
Normal file
9
src/app_modules/_global/lib/api_user.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
export const apiGetCookiesUser = async () => {
|
||||
const response = await fetch(`/api/user/get`);
|
||||
return await response.json().catch(() => null);
|
||||
};
|
||||
|
||||
export const apiGetACtivationUser = async () => {
|
||||
const response = await fetch(`/api/user/activation`);
|
||||
return await response.json().catch(() => null);
|
||||
};
|
||||
Reference in New Issue
Block a user