From 52b4a9429b7f4d9d2b9adb8840212f5a1501d583 Mon Sep 17 00:00:00 2001 From: Kima Date: Mon, 25 Dec 2023 23:36:51 +0100 Subject: [PATCH 1/5] fixed message sending error --- filcnaplo/pubspec.yaml | 2 +- filcnaplo_kreta_api/lib/models/message.dart | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/filcnaplo/pubspec.yaml b/filcnaplo/pubspec.yaml index 68451e6..2504fa3 100644 --- a/filcnaplo/pubspec.yaml +++ b/filcnaplo/pubspec.yaml @@ -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" diff --git a/filcnaplo_kreta_api/lib/models/message.dart b/filcnaplo_kreta_api/lib/models/message.dart index e938ff5..aef55fb 100644 --- a/filcnaplo_kreta_api/lib/models/message.dart +++ b/filcnaplo_kreta_api/lib/models/message.dart @@ -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, From ac77f26eb2893fb47882b7fd624cb4a0ef047e8b Mon Sep 17 00:00:00 2001 From: Kima Date: Mon, 25 Dec 2023 23:43:41 +0100 Subject: [PATCH 2/5] idk test --- filcnaplo_premium | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filcnaplo_premium b/filcnaplo_premium index 078142a..2682221 160000 --- a/filcnaplo_premium +++ b/filcnaplo_premium @@ -1 +1 @@ -Subproject commit 078142a3dc2fce9eddb6f608923055943ec4d5e6 +Subproject commit 268222165be261347c5de5c52c33d444810a9a59 From cbece0e84171517e1643c50ae82a257be173bb07 Mon Sep 17 00:00:00 2001 From: Kima Date: Mon, 25 Dec 2023 23:51:36 +0100 Subject: [PATCH 3/5] temp removed submodule --- .gitmodules | 3 --- filcnaplo_premium | 1 - 2 files changed, 4 deletions(-) delete mode 160000 filcnaplo_premium diff --git a/.gitmodules b/.gitmodules index edc2455..e69de29 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +0,0 @@ -[submodule "filcnaplo_premium"] - path = filcnaplo_premium - url = git@github.com:refilc/naplo-plus.git diff --git a/filcnaplo_premium b/filcnaplo_premium deleted file mode 160000 index 2682221..0000000 --- a/filcnaplo_premium +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 268222165be261347c5de5c52c33d444810a9a59 From de3fa0c71dc99462a0107deee8fc2a2c636baa19 Mon Sep 17 00:00:00 2001 From: Kima Date: Tue, 26 Dec 2023 00:00:45 +0100 Subject: [PATCH 4/5] added submodule back --- .gitmodules | 3 +++ filcnaplo_premium | 1 + 2 files changed, 4 insertions(+) create mode 160000 filcnaplo_premium diff --git a/.gitmodules b/.gitmodules index e69de29..5253922 100644 --- a/.gitmodules +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "naplo-plus"] + path = filcnaplo_premium + url = git@github.com:refilc/naplo-plus.git diff --git a/filcnaplo_premium b/filcnaplo_premium new file mode 160000 index 0000000..3cb6564 --- /dev/null +++ b/filcnaplo_premium @@ -0,0 +1 @@ +Subproject commit 3cb656418f669522539547cfb9169edb6cfdc4de From a5e368d9831cfa1471ae60eca8a51cdfb736aceb Mon Sep 17 00:00:00 2001 From: Kima Date: Tue, 26 Dec 2023 00:05:45 +0100 Subject: [PATCH 5/5] added back everything to refilc+ submodule --- filcnaplo_premium | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filcnaplo_premium b/filcnaplo_premium index 3cb6564..1c11338 160000 --- a/filcnaplo_premium +++ b/filcnaplo_premium @@ -1 +1 @@ -Subproject commit 3cb656418f669522539547cfb9169edb6cfdc4de +Subproject commit 1c11338d208a6c8b881c7a28f8593649c37a1b0a