File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -131,9 +131,9 @@ export const GetUserInfo = async (
131131 startingWithFirstName : string ;
132132 } ;
133133 pictureUrl : string ;
134- schoolName : string ;
135134 userLT : number ;
136- }
135+ } ,
136+ schoolName : string
137137 } // je bypass le BaseResponse prcq flm de refaire les types a 4h du mat
138138 const kind = determineAccountKind ( userInfo . user . userLT ) ;
139139 const lastName = userInfo . user . name . startingWithFirstName
@@ -184,7 +184,8 @@ export const GetUserInfo = async (
184184 new Date ( "2000-01-01" ) ,
185185 kind ,
186186 deviceId ,
187- userInfo . user . pictureUrl
187+ userInfo . user . pictureUrl ,
188+ userInfo . schoolName
188189 ) ;
189190
190191 return client ;
Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ export class SmartSchool {
3333 public kind : Kind ,
3434 public SMSCMobileID : string ,
3535 public pp ?: string | null ,
36+ public SchoolName ?: string ,
3637 public kids ?: Array < SmartSchool >
3738 ) { }
3839
You can’t perform that action at this time.
0 commit comments