Browse Source

Role -> TRole

visuddhinanda 3 years ago
parent
commit
df6e6db8b7
1 changed files with 2 additions and 2 deletions
  1. 2 2
      dashboard/src/components/api/Course.ts

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

@@ -1,6 +1,6 @@
 import { IStudio } from "../auth/StudioName";
 import { IUser } from "../auth/User";
-import { IUserRequest, Role } from "./Auth";
+import { IUserRequest, TRole } from "./Auth";
 
 export interface ICourseListApiResponse {
   article: string;
@@ -116,7 +116,7 @@ export interface ICourseMemberListResponse {
   message: string;
   data: {
     rows: ICourseMemberData[];
-    role: Role;
+    role: TRole;
     count: number;
   };
 }