linhaohong 7 сар өмнө
parent
commit
fc9febdb8b

+ 1 - 1
Controller/UserDevice/APNConfigController.py

@@ -27,7 +27,7 @@ class APNConfigView(View):
     def validation(self, request_dict, request, operation):
         response = ResponseObject('en')
         tko = TokenObject(request.META.get('HTTP_AUTHORIZATION'))
-        LOGGER.info(f'APNConfigView -- tko: {tko}, request_dict: {request_dict}')
+        LOGGER.info(f'APNConfigView -- tko: {tko.code}, request_dict: {request_dict}')
         if tko.code != 0:
             return response.json(tko.code)
         response.lang = tko.lang