mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-02-23 14:40:47 +01:00
Merge branch 'master' into StreamerCopilot
This commit is contained in:
commit
32c822b837
2 changed files with 3 additions and 3 deletions
|
@ -10,7 +10,7 @@ LNbits
|
|||
|
||||

|
||||
|
||||
# LNbits v0.1 BETA, free and open-source lightning-network wallet/accounts system
|
||||
# LNbits v0.3 BETA, free and open-source lightning-network wallet/accounts system
|
||||
|
||||
Use [lnbits.com](https://lnbits.com), or run your own LNbits server!
|
||||
|
||||
|
|
|
@ -120,8 +120,8 @@ async def api_usermanager_wallet_transactions(wallet_id):
|
|||
@usermanager_ext.route("/api/v1/wallets/<user_id>", methods=["GET"])
|
||||
@api_check_wallet_key(key_type="invoice")
|
||||
async def api_usermanager_wallet(user_id):
|
||||
return jsonify(await get_usermanager_wallets(user_id)), HTTPStatus.OK
|
||||
|
||||
wallet = await get_usermanager_wallets(user_id)
|
||||
return jsonify(wallet._asdict()), HTTPStatus.OK
|
||||
|
||||
@usermanager_ext.route("/api/v1/wallets/<wallet_id>", methods=["DELETE"])
|
||||
@api_check_wallet_key(key_type="invoice")
|
||||
|
|
Loading…
Add table
Reference in a new issue