Skip to content

Commit

Permalink
fixed mypy type, #48.
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoHuebner committed Sep 20, 2022
1 parent 8cc95c8 commit 3cac0de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pygenesis/helloworld.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def whoami() -> str:

_check_invalid_status_code(response.status_code)

return response.text
return str(response.text)


def logincheck() -> str:
Expand All @@ -46,4 +46,4 @@ def logincheck() -> str:
# and misleading usage of "Status" key in API response
_check_invalid_status_code(response.status_code)

return response.text
return str(response.text)

0 comments on commit 3cac0de

Please sign in to comment.