Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bloodbare committed Feb 18, 2024
1 parent c14ae4a commit 075588b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nuclia/decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def wrapper(*args, **kwargs):
if account_slug is None:
raise NotDefinedDefault()
kwargs["account"] = account_slug
if account_id is not None:
if account_id is None:
account_id = auth.get_account_id(account_slug) # type: ignore
kwargs["account_id"] = account_id
return func(*args, **kwargs)
Expand Down

0 comments on commit 075588b

Please sign in to comment.