|
@@ -45,8 +45,9 @@ class UserDeviceShareView(View):
|
|
|
token = TokenObject(request.META.get('HTTP_AUTHORIZATION'))
|
|
|
lang = request_dict.get('lang', token.lang)
|
|
|
response = ResponseObject(lang)
|
|
|
- LOGGER.info(f"test:{token}")
|
|
|
+ LOGGER.info(f"test:{token.token}")
|
|
|
if token.code != 0:
|
|
|
+ LOGGER.info(f"token.code:{token.code}")
|
|
|
return response.json(token.code)
|
|
|
if operation == 'user-permissions':
|
|
|
return self.get_user_share_permission(request_dict, response)
|