Skip to content

Commit

Permalink
fix get_url backslash bug
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiascadee committed Dec 13, 2023
1 parent e89859a commit 32c62d4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tap_exact/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,7 @@ def url_base(self) -> str:
return f"https://start.exactonline.nl/api/v1"

def get_url(self, context: dict | None) -> str:
url = f"{self.url_base}/{context['division']}"
return f"{self.url_base}/{context['division']}/{self.path}"
return f"{self.url_base}/{context['division']}{self.path}"

@cached_property
def authenticator(self) -> _Auth:
Expand Down

0 comments on commit 32c62d4

Please sign in to comment.