From 0a308af63e5a4f3b41af38af09d7f6dfef629756 Mon Sep 17 00:00:00 2001 From: odex Date: Thu, 4 Jul 2024 17:46:27 +0300 Subject: [PATCH] fix --- odex25_mobile/odex_web_app/controllers/authentication.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/odex25_mobile/odex_web_app/controllers/authentication.py b/odex25_mobile/odex_web_app/controllers/authentication.py index 67d0bca62..9a69130e9 100644 --- a/odex25_mobile/odex_web_app/controllers/authentication.py +++ b/odex25_mobile/odex_web_app/controllers/authentication.py @@ -53,7 +53,7 @@ class AuthenticationController(http.Controller): # write fcm_token and fcm_token_web in employee fcm_token_web = kw.get('fcm_token_web') if employee and fcm_token_web: - employee.sudo().write({'fcm_token_web': s}) + employee.sudo().write({'fcm_token_web': fcm_token_web}) dic['token'] = token http_helper.cleanup();