Arc
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
1 deletions
-
lnbits/extensions/tpos/views_api.py
|
@ -32,6 +32,8 @@ def api_tpos(): |
|
|
if "ERROR" in r_json: |
|
|
if "ERROR" in r_json: |
|
|
return jsonify({"status": "ERROR", "reason": r_json["ERROR"]}), 400 |
|
|
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 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|