Skip to content
This repository was archived by the owner on Dec 5, 2025. It is now read-only.

Commit c3964af

Browse files
committed
[client] Rollback on classical url build
1 parent 3eb123d commit c3964af

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pycti/api/opencti_api_client.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import io
55
import json
66
from typing import Union
7-
from urllib.parse import urljoin
87

98
import magic
109
import requests
@@ -130,7 +129,7 @@ def __init__(
130129

131130
# Define API
132131
self.api_token = token
133-
self.api_url = urljoin(url, "/graphql")
132+
self.api_url = url + "/graphql"
134133
self.request_headers = {
135134
"User-Agent": "pycti/" + __version__,
136135
"Authorization": "Bearer " + token,

0 commit comments

Comments
 (0)