Skip to content

Commit

Permalink
fix json parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
sgrtye committed Jan 6, 2025
1 parent 56f28a1 commit 1648da8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apiserver/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ async def get_xui_info(path_suffix: str) -> dict:
while (info := await post_request(XUI_URL + path_suffix)).status_code != 200:
await xui_login()

return info.json()
return info


async def get_xui_status() -> dict[str, str]:
Expand Down

0 comments on commit 1648da8

Please sign in to comment.