Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions tinker/libs/bunq_lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@


class BunqLib(object):
_ERROR_COULD_NOT_DETIRMINE_CONF = 'Could not find the bunq configuration' \
_ERROR_COULD_NOT_DETERMINE_CONF = 'Could not find the bunq configuration' \
' file.'
_ERROR_COULD_NOT_CREATE_NEW_SANDBOX_USER = "Could not create new sandbox" \
" user."
Expand Down Expand Up @@ -63,7 +63,7 @@ def setup_context(self, reset_config_if_needed=True):
socket.gethostname()).save(
self.determine_bunq_conf_filename())
else:
raise BunqException(self._ERROR_COULD_NOT_DETIRMINE_CONF)
raise BunqException(self._ERROR_COULD_NOT_DETERMINE_CONF)

try:
api_context = ApiContext.restore(self.determine_bunq_conf_filename())
Expand Down Expand Up @@ -241,7 +241,7 @@ def generate_new_sandbox_user(self):
:rtype: SandboxUser
"""

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

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