Skip to content

Commit a3c22ce

Browse files
committed
bunq/sdk_python#23 Deprecate the sandbox-user endpoint.
1 parent 39f4c68 commit a3c22ce

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tinker/libs/bunq_lib.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323

2424
class BunqLib(object):
25-
_ERROR_COULD_NOT_DETIRMINE_CONF = 'Could not find the bunq configuration' \
25+
_ERROR_COULD_NOT_DETERMINE_CONF = 'Could not find the bunq configuration' \
2626
' file.'
2727
_ERROR_COULD_NOT_CREATE_NEW_SANDBOX_USER = "Could not create new sandbox" \
2828
" user."
@@ -63,7 +63,7 @@ def setup_context(self, reset_config_if_needed=True):
6363
socket.gethostname()).save(
6464
self.determine_bunq_conf_filename())
6565
else:
66-
raise BunqException(self._ERROR_COULD_NOT_DETIRMINE_CONF)
66+
raise BunqException(self._ERROR_COULD_NOT_DETERMINE_CONF)
6767

6868
try:
6969
api_context = ApiContext.restore(self.determine_bunq_conf_filename())
@@ -241,7 +241,7 @@ def generate_new_sandbox_user(self):
241241
:rtype: SandboxUser
242242
"""
243243

244-
url = ApiEnvironmentType.SANDBOX.uri_base + "sandbox-user"
244+
url = ApiEnvironmentType.SANDBOX.uri_base + "sandbox-user-person"
245245

246246
headers = {
247247
'x-bunq-client-request-id': "uniqueness-is-required",

0 commit comments

Comments
 (0)