Skip to content

Commit

Permalink
[client] Append path for API
Browse files Browse the repository at this point in the history
  • Loading branch information
SamuelHassine committed Apr 18, 2024
1 parent 646e64a commit 29458f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyobas/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def _build_url(self, path: str) -> str:
"""
if path.startswith("http://") or path.startswith("https://"):
return path
return f"{self.url}{path}"
return f"{self.url}/api{path}"

def _get_session_opts(self) -> Dict[str, Any]:
return {
Expand Down

0 comments on commit 29458f8

Please sign in to comment.