Fixed usermanager endpoint

This commit is contained in:
Ben Arc
2021-04-21 13:41:00 +01:00
parent 33e2bdb7fb
commit 6ae3690797
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -122,7 +122,7 @@ async def api_usermanager_wallet_transactions(wallet_id):
@api_check_wallet_key(key_type="invoice")
async def api_usermanager_users_wallets(user_id):
wallet = await get_usermanager_users_wallets(user_id)
return jsonify(wallet._asdict()), HTTPStatus.OK
return jsonify(wallet), HTTPStatus.OK
@usermanager_ext.route("/api/v1/wallets/<wallet_id>", methods=["DELETE"])