There was an error while loading. Please reload this page.
1 parent 57a7ea2 commit 5bba4a0Copy full SHA for 5bba4a0
1 file changed
workflow/integrations/base.py
@@ -62,6 +62,10 @@ def request(self, method, url, params=None, data=None, json=None):
62
self._log_http_error(method, url, response, error)
63
raise
64
65
+ # If there's no content (e.g. 204 No Content), return None
66
+ if response.status_code == 204:
67
+ return
68
+
69
return response.json()
70
71
def _log_http_error(self, method, url, response, error):
0 commit comments