mirror of
https://github.com/lnbits/lnbits.git
synced 2025-06-29 10:10:00 +02:00
Update views_api.py
This commit is contained in:
@ -32,6 +32,8 @@ def api_tpos():
|
||||
if "ERROR" in r_json:
|
||||
return jsonify({"status": "ERROR", "reason": r_json["ERROR"]}), 400
|
||||
|
||||
return jsonify({"status": "TRUE"}), 200
|
||||
return jsonify({"status": "TRUE","pay_req": r_json["pay_req"] ,"payment_hash": r_json["payment_hash"] }), 200
|
||||
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user