mirror of
https://repository.entgra.net/community/device-mgt-plugins.git
synced 2025-09-16 23:42:15 +00:00
Merge pull request #815 from sameerawickramasekara/master
Fixes wso2/product-iots/#1338
This commit is contained in:
commit
430531c56b
@ -48,6 +48,6 @@ class RefreshToken():
|
||||
params = urllib.urlencode({"grant_type": "refresh_token", "refresh_token": refreshToken,
|
||||
"scope": "Enroll device"})
|
||||
data = self.post("/token", params, applicationKey)
|
||||
response = json.loads(data)
|
||||
response = json.loads(data.content)
|
||||
self.updateFile(response)
|
||||
return response
|
||||
Loading…
Reference in New Issue
Block a user