Skip to content

Commit

Permalink
Rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
brodokk committed Oct 14, 2024
1 parent 7e6dd00 commit 8585eda
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion resonitepy/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -753,5 +753,5 @@ def searchUser(self, username: str) -> List[ResoniteUser]:
def platform(self) -> Platform:
""" Return information about the platform.
"""
response = self._request('get', '/platform')
response = self.request('get', '/platform')
return dacite.from_dict(Platform, response, DACITE_CONFIG)
4 changes: 2 additions & 2 deletions test.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
Usage:
OWNERID=<Resonite U- user id> PASSWORD=<your password> python test.py
TODO: Add the ability to show if a field is missing but send by resonite API
"""

import os
Expand All @@ -17,6 +15,8 @@

client = Client()

os.environ['DEBUG'] = 'true'

client.login(
classes.LoginDetails(
ownerId=os.environ.get('OWNERID'),
Expand Down

0 comments on commit 8585eda

Please sign in to comment.