Parcourir la source

Role -> TRole

visuddhinanda il y a 3 ans
Parent
commit
aff8cf1233
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      dashboard/src/components/api/Auth.ts

+ 2 - 2
dashboard/src/components/api/Auth.ts

@@ -1,4 +1,4 @@
-export type Role =
+export type TRole =
   | "owner"
   | "owner"
   | "manager"
   | "manager"
   | "editor"
   | "editor"
@@ -39,6 +39,6 @@ export interface IStudioApiResponse {
   id: string;
   id: string;
   nickName: string;
   nickName: string;
   studioName: string;
   studioName: string;
-  avatar: string;
+  avatar?: string;
   owner: IUserApiResponse;
   owner: IUserApiResponse;
 }
 }