Skip to content

Commit

Permalink
Fix WriteInPublic Client SSL issue
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmwatson committed May 15, 2024
1 parent ee8b4ac commit b258996
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pombola/writeinpublic/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def create_message(self, author_name, author_email, subject, content, persons):
'persons': person_uris,
}
try:
response = requests.post(url, json=payload, params=params)
response = requests.post(url, json=payload, params=params, verify=False)
response.raise_for_status()
return response
except requests.exceptions.RequestException as err:
Expand All @@ -78,7 +78,7 @@ def get_message(self, message_id):
'api_key': self.api_key,
}
try:
response = requests.get(url, params=params)
response = requests.get(url, params=params, verify=False)
response.raise_for_status()
return Message(response.json(), adapter=self.adapter)
except requests.exceptions.RequestException as err:
Expand Down Expand Up @@ -123,7 +123,7 @@ def get_person(self, person, filters=None):
}
params.update(filters)
try:
response = requests.get(url, params=params)
response = requests.get(url, params=params, verify=False)
if response.status_code == 404:
return []
response.raise_for_status()
Expand Down

0 comments on commit b258996

Please sign in to comment.