fixed message sending error

This commit is contained in:
Kima 2023-12-25 23:36:51 +01:00
parent d2d36c3d0f
commit 52b4a9429b
2 changed files with 2 additions and 3 deletions

View File

@ -3,7 +3,7 @@ description: "Nem hivatalos e-napló alkalmazás az e-Kréta rendszerhez"
homepage: https://refilc.hu
publish_to: "none"
version: 4.5.0+236
version: 4.5.0+237
environment:
sdk: ">=2.17.0 <3.0.0"

View File

@ -156,9 +156,8 @@ class SendRecipient {
});
factory SendRecipient.fromJson(Map json, SendRecipientType type) {
print(json);
return SendRecipient(
id: int.parse(json['kretaAzonosito'] ?? '0'),
id: json['kretaAzonosito'] ?? 0,
kretaId: json['kretaAzonosito'],
name: json['nev'],
type: type,