fix: read grade kind from the correct api field

This commit is contained in:
zypherift
2026-08-27 20:43:42 +02:00
parent 7c9ade35f0
commit 2dccb59f7f

View File

@@ -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,