Răsfoiți Sursa

Role -> TRole

visuddhinanda 3 ani în urmă
părinte
comite
aff8cf1233
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  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"
   | "manager"
   | "editor"
@@ -39,6 +39,6 @@ export interface IStudioApiResponse {
   id: string;
   nickName: string;
   studioName: string;
-  avatar: string;
+  avatar?: string;
   owner: IUserApiResponse;
 }