forked from github/szkolny
[API/Vulcan] Fix for null OddzialKod in students list.
This commit is contained in:
parent
8a30c6c7ce
commit
773b590d79
@ -745,7 +745,7 @@ public class Vulcan implements EdziennikInterface {
|
|||||||
studentLoginId = account.get("UzytkownikLoginId").getAsInt();
|
studentLoginId = account.get("UzytkownikLoginId").getAsInt();
|
||||||
studentClassId = account.get("IdOddzial").getAsInt();
|
studentClassId = account.get("IdOddzial").getAsInt();
|
||||||
studentSemesterId = account.get("IdOkresKlasyfikacyjny").getAsInt();
|
studentSemesterId = account.get("IdOkresKlasyfikacyjny").getAsInt();
|
||||||
String studentClassName = account.get("OddzialKod").getAsString();
|
String studentClassName = account.get("OkresPoziom").getAsInt()+account.get("OddzialSymbol").getAsString();
|
||||||
targetProfile.putStudentData("userName", account.get("UzytkownikNazwa").getAsString());
|
targetProfile.putStudentData("userName", account.get("UzytkownikNazwa").getAsString());
|
||||||
targetProfile.putStudentData("schoolName", schoolName);
|
targetProfile.putStudentData("schoolName", schoolName);
|
||||||
targetProfile.putStudentData("schoolSymbol", schoolSymbol);
|
targetProfile.putStudentData("schoolSymbol", schoolSymbol);
|
||||||
|
Loading…
Reference in New Issue
Block a user