Skip to content

Commit abdfa4d

Browse files
author
Kevin Hellemun
committed
Refactored api client. (#75)
1 parent 7044be7 commit abdfa4d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

bunq/sdk/client.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -284,9 +284,7 @@ def _fetch_response_id(self, response):
284284
if self.HEADER_RESPONSE_ID_LOWER_CASED in headers:
285285
return headers[self.HEADER_RESPONSE_ID_LOWER_CASED]
286286

287-
return exception.BunqException(
288-
self._ERROR_COULD_NOT_DETERMINE_RESPONSE_ID_HEADER
289-
)
287+
return self._ERROR_COULD_NOT_DETERMINE_RESPONSE_ID_HEADER;
290288

291289
def put(self, uri_relative, request_bytes, custom_headers):
292290
"""

0 commit comments

Comments
 (0)