Skip to content

Commit

Permalink
feat: adds support for domain with trailing slash
Browse files Browse the repository at this point in the history
  • Loading branch information
jtyoung84 committed Aug 1, 2023
1 parent cfedbdf commit 0183d3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aind_codeocean_api/codeocean.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def __init__(self, domain: str, token: str, api_version: int = 1) -> None:
api_version : int
Code Ocean API version
"""
self.domain = domain
self.domain = domain.strip("/")
self.token = token
self.api_version = api_version
self.logger = logging.getLogger("aind-codeocean-api")
Expand Down

0 comments on commit 0183d3c

Please sign in to comment.