fix postgres not showing payments

This commit is contained in:
Tiago vasconcelos
2021-08-05 08:57:50 -03:00
committed by fiatjaf
parent 0813adb70d
commit d582ee87e5
4 changed files with 8 additions and 890 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ async def api_wallet():
@core_app.route("/api/v1/payments", methods=["GET"])
@api_check_wallet_key("invoice")
async def api_payments():
return jsonify(await get_payments(wallet_id=g.wallet.id, pending=True))
return jsonify(await get_payments(wallet_id=g.wallet.id, pending=True, complete=True))
@api_check_wallet_key("invoice")