lndhub: fix "token" -> "refresh_token".

This commit is contained in:
fiatjaf
2020-10-06 21:53:43 -03:00
parent 24c8201920
commit 0b1f3c22e0
3 changed files with 18 additions and 5 deletions
+7 -1
View File
@@ -17,7 +17,13 @@ from ..tasks import sse_listeners
@api_check_wallet_key("invoice")
async def api_wallet():
return (
jsonify({"id": g.wallet.id, "name": g.wallet.name, "balance": g.wallet.balance_msat,}),
jsonify(
{
"id": g.wallet.id,
"name": g.wallet.name,
"balance": g.wallet.balance_msat,
}
),
HTTPStatus.OK,
)