Skip to content

Commit 558af9a

Browse files
Regenerated code based on the latest tag.
1 parent e06520c commit 558af9a

File tree

6 files changed

+4885
-3841
lines changed

6 files changed

+4885
-3841
lines changed

bunq/sdk/http/api_client.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,6 @@ def _request(self,
114114
BunqContext.update_api_context(self._api_context)
115115

116116
all_headers = self._get_all_headers(
117-
method,
118-
uri_relative_with_params,
119117
request_bytes,
120118
custom_headers
121119
)
@@ -150,8 +148,6 @@ def _append_params_to_uri(cls,
150148
return uri
151149

152150
def _get_all_headers(self,
153-
method: str,
154-
endpoint: str,
155151
request_bytes: bytes,
156152
custom_headers: Dict[str, str]) -> Dict[str, str]:
157153
headers = self._get_default_headers()
@@ -161,10 +157,7 @@ def _get_all_headers(self,
161157
headers[self.HEADER_AUTHENTICATION] = self._api_context.token
162158
headers[self.HEADER_SIGNATURE] = security.sign_request(
163159
self._api_context.installation_context.private_key_client,
164-
method,
165-
endpoint,
166-
request_bytes,
167-
headers
160+
request_bytes
168161
)
169162

170163
return headers

0 commit comments

Comments
 (0)