mirror of
https://github.com/lnbits/lnbits.git
synced 2026-08-17 13:16:11 +02:00
fix: /user/{user_id}/wallet should return deleted wallet (#3713)
This commit is contained in:
parent
5b2937672c
commit
6d24ba55aa
1 changed files with 1 additions and 1 deletions
|
|
@ -222,7 +222,7 @@ async def api_users_toggle_admin(user_id: str) -> SimpleStatus:
|
|||
|
||||
@users_router.get("/user/{user_id}/wallet", name="Get wallets for user")
|
||||
async def api_users_get_user_wallet(user_id: str) -> list[Wallet]:
|
||||
return await get_wallets(user_id)
|
||||
return await get_wallets(user_id, deleted=None)
|
||||
|
||||
|
||||
@users_router.post("/user/{user_id}/wallet", name="Create a new wallet for user")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue