black formating
This commit is contained in:
@@ -11,6 +11,7 @@ class CreateUserData(BaseModel):
|
||||
admin_id: str = Query(...)
|
||||
discord_id: str = Query("")
|
||||
|
||||
|
||||
class CreateUserWallet(BaseModel):
|
||||
user_id: str = Query(...)
|
||||
wallet_name: str = Query(...)
|
||||
@@ -23,6 +24,7 @@ class Users(BaseModel):
|
||||
admin: str
|
||||
discord_id: str
|
||||
|
||||
|
||||
class Wallets(BaseModel):
|
||||
id: str
|
||||
admin: str
|
||||
|
||||
@@ -109,9 +109,7 @@ async def api_discordbot_wallet_transactions(
|
||||
async def api_discordbot_users_wallets(
|
||||
user_id, wallet: WalletTypeInfo = Depends(get_key_type)
|
||||
):
|
||||
return [
|
||||
s_wallet.dict() for s_wallet in await get_discordbot_users_wallets(user_id)
|
||||
]
|
||||
return [s_wallet.dict() for s_wallet in await get_discordbot_users_wallets(user_id)]
|
||||
|
||||
|
||||
@discordbot_ext.delete("/api/v1/wallets/{wallet_id}")
|
||||
|
||||
Reference in New Issue
Block a user