We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee9f828 commit c896255Copy full SHA for c896255
mailjet_rest/client.py
@@ -25,7 +25,7 @@ def __init__(self, version=None, api_url=None):
25
def __getitem__(self, key):
26
# Append version to URL.
27
# Forward slash is ignored if present in self.version.
28
- url = urljoin(url, self.version + '/')
+ url = urljoin(self.api_url, self.version + '/')
29
headers = {'Content-type': 'application/json', 'User-agent': self.user_agent}
30
if key.lower() == 'contactslist_csvdata':
31
url = urljoin(url, 'DATA/')
0 commit comments