brestok commited on
Commit
6975bfa
·
1 Parent(s): b292254
Files changed (1) hide show
  1. cbh/api/account/views.py +1 -1
cbh/api/account/views.py CHANGED
@@ -53,7 +53,7 @@ async def filter_accounts(
53
  @account_router.get("/{accountId}")
54
  async def get_account(
55
  accountId: str, # pylint: disable=C0103
56
- _: AccountModel = Depends(PermissionDependency(AccountType.ADMIN)),
57
  ) -> CbhResponseWrapper[AccountModel]:
58
  """
59
  Get an account by ID.
 
53
  @account_router.get("/{accountId}")
54
  async def get_account(
55
  accountId: str, # pylint: disable=C0103
56
+ _: AccountModel = Depends(PermissionDependency([AccountType.ADMIN])),
57
  ) -> CbhResponseWrapper[AccountModel]:
58
  """
59
  Get an account by ID.