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();