From 6d9b4af03fff071758d8a32f6d72d8b2d9cadebc Mon Sep 17 00:00:00 2001 From: adhi0331 Date: Fri, 14 Jun 2024 14:47:24 -0700 Subject: [PATCH] fix user role bug --- frontend/src/api/user.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/src/api/user.ts b/frontend/src/api/user.ts index 79d7a37..57a27e1 100644 --- a/frontend/src/api/user.ts +++ b/frontend/src/api/user.ts @@ -4,8 +4,7 @@ import { APIResult, DELETE, GET, PATCH, POST, handleAPIError } from "@/api/reque export type User = { uid: string; - // role: "admin" | "team"; - accountType: "admin" | "team"; + role: "admin" | "team"; approvalStatus: boolean; profilePicture: string; name: string;