Skip to content

Commit e253c0e

Browse files
committed
Merge branch 'master' into marcos/test-pr-11176
2 parents 911dc70 + 7d9e9dd commit e253c0e

File tree

1 file changed

+2
-2
lines changed
  • airbyte-integrations/connectors/source-intercom/source_intercom

1 file changed

+2
-2
lines changed

airbyte-integrations/connectors/source-intercom/source_intercom/source.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from datetime import datetime
77
from enum import Enum
88
from typing import Any, Iterable, List, Mapping, MutableMapping, Optional, Tuple
9-
from urllib.parse import parse_qsl, urlparse
9+
from urllib.parse import parse_qsl, urlparse, urljoin
1010

1111
import requests
1212
from airbyte_cdk.logger import AirbyteLogger
@@ -426,7 +426,7 @@ class SourceIntercom(AbstractSource):
426426
def check_connection(self, logger, config) -> Tuple[bool, any]:
427427
authenticator = VersionApiAuthenticator(token=config["access_token"])
428428
try:
429-
url = f"{IntercomStream.url_base}/tags"
429+
url = urljoin(IntercomStream.url_base, "/tags")
430430
auth_headers = {"Accept": "application/json", **authenticator.get_auth_header()}
431431
session = requests.get(url, headers=auth_headers)
432432
session.raise_for_status()

0 commit comments

Comments
 (0)