|
@@ -43,9 +43,10 @@ class DeviceShareView(View):
|
|
|
def validation(self, request_dict, operation):
|
|
|
response = ResponseObject()
|
|
|
token = request_dict.get('token', None)
|
|
|
+ lang = request_dict.get('lang', None)
|
|
|
if token:
|
|
|
tko = TokenObject(token)
|
|
|
- response.lang = tko.lang
|
|
|
+ response.lang = lang if lang else tko.lang
|
|
|
if tko.code == 0:
|
|
|
userID = tko.userID
|
|
|
if operation == 'generateTokenUrl':
|