forked from firka/firka
fix: read grade kind from the correct api field
This commit is contained in:
@@ -53,7 +53,7 @@ class Grade extends UidObj {
|
||||
mode: json.nameUidDesc('Mod'),
|
||||
valueType: json.nameUidDesc('ErtekFajta')!,
|
||||
teacher: json['ErtekeloTanarNeve'],
|
||||
kind: json['Kind'],
|
||||
kind: json['Jelleg'],
|
||||
numericValue: json['SzamErtek'],
|
||||
strValue: json['SzovegesErtek'],
|
||||
weightPercentage: json['SulySzazalekErteke'],
|
||||
@@ -75,7 +75,7 @@ class Grade extends UidObj {
|
||||
'Mod': mode?.toJson(),
|
||||
'ErtekFajta': valueType.toJson(),
|
||||
'ErtekeloTanarNeve': teacher,
|
||||
'Kind': kind,
|
||||
'Jelleg': kind,
|
||||
'SzamErtek': numericValue,
|
||||
'SzovegesErtek': strValue,
|
||||
'SulySzazalekErteke': weightPercentage,
|
||||
|
||||
Reference in New Issue
Block a user