cosmetic change

This commit is contained in:
Alex Tran
2022-08-12 21:19:54 -05:00
parent 5c1d1dd5a1
commit 4b34f017ca
2 changed files with 165 additions and 168 deletions

View File

@@ -12,10 +12,8 @@
}
try {
const user: UserResponseDto = await fetch('/data/user/get-my-user-info').then((r) => r.json());
const allUsers: UserResponseDto[] = await fetch<UserResponseDto[]>('/data/user/get-all-users?isAll=false').then((r) => r.json());
const allUsers: UserResponseDto[] = await fetch('/data/user/get-all-users?isAll=false').then((r) => r.json());
if (!user.isAdmin) {
return {