feat: Implement instructor module with course management pages and API services.
This commit is contained in:
parent
07ab43a785
commit
a24f8c4982
6 changed files with 135 additions and 27 deletions
|
|
@ -44,6 +44,7 @@ export interface LoginResponse {
|
|||
firstName: string;
|
||||
lastName: string;
|
||||
role: string;
|
||||
avatarUrl?: string | null;
|
||||
};
|
||||
}
|
||||
|
||||
|
|
@ -132,7 +133,8 @@ export const authService = {
|
|||
email: response.user.email,
|
||||
firstName: response.user.profile.first_name,
|
||||
lastName: response.user.profile.last_name,
|
||||
role: response.user.role.code
|
||||
role: response.user.role.code,
|
||||
avatarUrl: response.user.profile.avatar_url
|
||||
}
|
||||
};
|
||||
} catch (error: any) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue