From 7f9c82d165659d873e117c05231a271a9421382c Mon Sep 17 00:00:00 2001 From: "Aamir.Muhammad" Date: Thu, 19 Jan 2023 16:30:58 +0300 Subject: [PATCH] ChatFix --- lib/api/chat/chat_api_client.dart | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/lib/api/chat/chat_api_client.dart b/lib/api/chat/chat_api_client.dart index b408362..d029866 100644 --- a/lib/api/chat/chat_api_client.dart +++ b/lib/api/chat/chat_api_client.dart @@ -29,18 +29,13 @@ class ChatApiClient { "${ApiConsts.chatLoginTokenUrl}externaluserlogin", { "employeeNumber": AppState().memberInformationList!.eMPLOYEENUMBER.toString(), - "password": "FxIu26rWIKoF8n6mpbOmAjDLphzFGmpG" - // "isMobile": true, - // "deviceToken": AppState().deviceNotificationToken + "password": "FxIu26rWIKoF8n6mpbOmAjDLphzFGmpG", + "isMobile": true, + "deviceToken": AppState().deviceNotificationToken }, ); - print({ - "employeeNumber": AppState().memberInformationList!.eMPLOYEENUMBER.toString(), - "password": "FxIu26rWIKoF8n6mpbOmAjDLphzFGmpG" - // "isMobile": true, - // "deviceToken": AppState().deviceNotificationToken - }); + if (!kReleaseMode) { logger.i("login-res: " + response.body); }