Skip to content

Commit

Permalink
Merge pull request #5 from ZeroGachis/fix/soti-uploader
Browse files Browse the repository at this point in the history
🐛 fix token getter
  • Loading branch information
ulricden authored Aug 1, 2024
2 parents ca7169d + 49ea93b commit 232ca53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion soti_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def _get_token(self):

self._check_response(resp, "getting token")

self.token = resp.json()["access_token"]
return resp.json()["access_token"]

def _encode_multipart_related(self, fields, boundary=None):
if boundary is None:
Expand Down

0 comments on commit 232ca53

Please sign in to comment.