We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dcfaed3 commit 83de672Copy full SHA for 83de672
payments.py
@@ -36,13 +36,13 @@ def params(tray):
36
# This function generates an invoice through the LNbits API and returns only the Bolt11 invoice
37
def get_invoice(params, headers, tray):
38
try:
39
- t = get_barometrics()
40
invoice_request = requests.post(url_base, json=params(tray), headers=headers)
41
invoice_request.raise_for_status()
42
global invoice
43
invoice = invoice_request.json()
44
logging.debug(f"{invoice}")
45
logging.info(invoice["bolt11"])
+ t = get_barometrics()
46
make_qrcode(t, invoice)
47
except Exception as e:
48
logging.debug(f"ERROR {e}")
0 commit comments