fully fix decorators, thanks calle
This commit is contained in:
parent
25d19244be
commit
f677777f07
1 changed files with 2 additions and 1 deletions
|
|
@ -171,9 +171,10 @@ async def get_key_type(
|
|||
if e.status_code == HTTPStatus.BAD_REQUEST:
|
||||
raise
|
||||
if e.status_code == HTTPStatus.UNAUTHORIZED:
|
||||
return WalletTypeInfo(2, None)
|
||||
return WalletTypeInfo(2, Wallet())
|
||||
except:
|
||||
raise
|
||||
return wallet
|
||||
|
||||
|
||||
async def require_admin_key(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue