Skip to content

Commit

Permalink
fix user role bug
Browse files Browse the repository at this point in the history
  • Loading branch information
adhi0331 committed Jun 14, 2024
1 parent 1609d6c commit 6d9b4af
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions frontend/src/api/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6d9b4af

Please sign in to comment.