feat:bearer for get users

This commit is contained in:
Rama Priyanto 2026-02-05 09:25:24 +07:00
parent 076c16be28
commit adcae589f0
1 changed files with 1 additions and 0 deletions

View File

@ -15,6 +15,7 @@ const id = getCookiesDecrypt("uie");
export async function listMasterUsers(data: any) { export async function listMasterUsers(data: any) {
const headers = { const headers = {
"content-type": "application/json", "content-type": "application/json",
Authorization: `Bearer ${token}`,
}; };
return await httpGet( return await httpGet(
`/users?page=${data.page}&limit=${data.limit}&username=${ `/users?page=${data.page}&limit=${data.limit}&username=${