From 81423420c89be2980573fb9ac6a5573c2d615472 Mon Sep 17 00:00:00 2001 From: shenlong <139912620+shenlong-tanwen@users.noreply.github.com> Date: Thu, 5 Jun 2025 22:53:45 +0530 Subject: [PATCH] chore(mobile): patch isOnboarded (#18949) fix: patch isOnboarded Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com> --- mobile/lib/utils/openapi_patching.dart | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mobile/lib/utils/openapi_patching.dart b/mobile/lib/utils/openapi_patching.dart index 58c3ef8394..c3bfe5a978 100644 --- a/mobile/lib/utils/openapi_patching.dart +++ b/mobile/lib/utils/openapi_patching.dart @@ -42,6 +42,11 @@ dynamic upgradeDto(dynamic value, String targetType) { addDefault(value, 'profileChangedAt', DateTime.now().toIso8601String()); } break; + case 'LoginResponseDto': + if (value is Map) { + addDefault(value, 'isOnboarded', false); + } + break; } }