From 2dccb59f7f0679b1fd7bcb479255e0ce7410e751 Mon Sep 17 00:00:00 2001 From: zypherift Date: Thu, 27 Aug 2026 20:43:42 +0200 Subject: [PATCH] fix: read grade kind from the correct api field --- kreta_api/lib/src/model/grade.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kreta_api/lib/src/model/grade.dart b/kreta_api/lib/src/model/grade.dart index 1bfa2bb7..87c29d3a 100644 --- a/kreta_api/lib/src/model/grade.dart +++ b/kreta_api/lib/src/model/grade.dart @@ -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,