6177214e-ce7c-49e3-99de-ff9721b26f63 — Commit af61a468

AuthorEdmir Suljic<esu@dwarf.dk>
Date2025-05-28 14:11:20 +0200
Removed PascalCase to camelCase

Changed files

comwell_key_app/lib/services/api.dart | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Diff

diff --git a/comwell_key_app/lib/services/api.dart b/comwell_key_app/lib/services/api.dart
index dcb6a5f3..56787931 100644
--- a/comwell_key_app/lib/services/api.dart
+++ b/comwell_key_app/lib/services/api.dart
@@ -188,7 +188,7 @@ class Api {
final response =
await dio.post<String>('/keys/v1/CreateEndpointRegistration');
final json = jsonDecode(response.data!) as Map<String, dynamic>;
- return json["InvitationCode"]! as String;
+ return json["invitationCode"]! as String;
}
Future<void> provisionKey(String bookingId) async {