Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pcrespov committed Jan 17, 2025
1 parent c029e33 commit a6c800e
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@ def _build_link(
r = URL("/registration").include_query_params(invitation=code_url_safe)

# Adds query to fragment
base_url = f"{base_url}/"
url = URL(base_url).replace(fragment=f"{r}")
url = URL(f"{base_url.rstrip('/')}/").replace(fragment=f"{r}")
return TypeAdapter(HttpUrl).validate_python(f"{url}")


Expand Down

0 comments on commit a6c800e

Please sign in to comment.