Skip to content

Commit

Permalink
remove last /
Browse files Browse the repository at this point in the history
  • Loading branch information
MateoLostanlen committed Apr 10, 2024
1 parent c6e0752 commit 7087dc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/utils/sites.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def api_request(method_type: str, route: str, headers=Dict[str, str], payload: O


def get_sites(user_credentials):
api_url = cfg.API_URL.split(".org")[0] + ".org" # prevent last "/"
api_url = cfg.API_URL.rstrip("/")
superuser_login = user_credentials["username"]
superuser_pwd = user_credentials["password"]

Expand Down

0 comments on commit 7087dc1

Please sign in to comment.