Skip to content

Commit

Permalink
API-2197 check for client credentials key
Browse files Browse the repository at this point in the history
  • Loading branch information
ahongbynder committed Jan 13, 2025
1 parent 2f11d96 commit 49b711a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bynder_sdk/client/bynder_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def __init__(self, domain, **kwargs):
)

# if client credentials use BackendApplicationClient from oauthlib, client suited for client credentials
client_credentials = BackendApplicationClient(kwargs['client_id']) if kwargs['client_credentials'] else None
client_credentials = BackendApplicationClient(kwargs['client_id']) if kwargs.get('client_credentials', None) else None
self.session = BynderOAuth2Session(
domain,
kwargs['client_id'],
Expand Down

0 comments on commit 49b711a

Please sign in to comment.