Fixes wso2/product-iots/#1338

This commit is contained in:
Sameera Wickramasekara 2017-09-07 17:15:08 +05:30
parent c7d5043248
commit 3fff6ecccd

View File

@ -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