feat:bearer for get users
This commit is contained in:
parent
076c16be28
commit
adcae589f0
|
|
@ -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=${
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue