diff --git a/rmapy/api.py b/rmapy/api.py index dcb901f..56228e4 100644 --- a/rmapy/api.py +++ b/rmapy/api.py @@ -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)