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

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