Skip to content

Commit

Permalink
adding trailing slash to legacy_base_client.py
Browse files Browse the repository at this point in the history
  • Loading branch information
HTSagara committed Nov 19, 2024
1 parent 169283b commit b62e608
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions slack_sdk/web/legacy_base_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ def __init__(
):
self.token = None if token is None else token.strip()
"""A string specifying an `xoxp-*` or `xoxb-*` token."""
if not base_url.endswith("/"):
base_url += "/"
self.base_url = base_url
"""A string representing the Slack API base URL.
Default is `'https://slack.com/api/'`."""
Expand Down

0 comments on commit b62e608

Please sign in to comment.