mirror of
https://github.com/subutux/rmapy.git
synced 2025-12-08 14:43:24 +00:00
fix:
body was passed to register_device as argument 'data'
This commit is contained in:
@@ -115,7 +115,7 @@ class Client(object):
|
||||
"deviceID": uuid,
|
||||
|
||||
}
|
||||
response = self.request("POST", DEVICE_TOKEN_URL, body)
|
||||
response = self.request("POST", DEVICE_TOKEN_URL, body=body)
|
||||
if response.ok:
|
||||
self.token_set["devicetoken"] = response.text
|
||||
dump(self.token_set)
|
||||
|
||||
Reference in New Issue
Block a user