mirror of
https://github.com/subutux/rmapy.git
synced 2025-12-08 14:43:24 +00:00
Merge pull request #2 from jodergrosse/bugfix/register_new_device
fix: #1
This commit is contained in:
@@ -115,7 +115,7 @@ class Client(object):
|
|||||||
"deviceID": uuid,
|
"deviceID": uuid,
|
||||||
|
|
||||||
}
|
}
|
||||||
response = self.request("POST", DEVICE_TOKEN_URL, body)
|
response = self.request("POST", DEVICE_TOKEN_URL, body=body)
|
||||||
if response.ok:
|
if response.ok:
|
||||||
self.token_set["devicetoken"] = response.text
|
self.token_set["devicetoken"] = response.text
|
||||||
dump(self.token_set)
|
dump(self.token_set)
|
||||||
|
|||||||
Reference in New Issue
Block a user