From 966a2ab18570ab9c4615322b48102bf7009ecdd2 Mon Sep 17 00:00:00 2001 From: Arc Date: Mon, 7 Oct 2024 17:03:50 +0100 Subject: [PATCH] Dropped timestamp --- templates/lnurldevice/atm_receipt.html | 12 +----------- views.py | 1 - 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/templates/lnurldevice/atm_receipt.html b/templates/lnurldevice/atm_receipt.html index 4548811..4e34dcf 100644 --- a/templates/lnurldevice/atm_receipt.html +++ b/templates/lnurldevice/atm_receipt.html @@ -20,10 +20,6 @@

ATM receipt for: "{{devicename}}"

Device {{devicename}} ({{deviceid}}) - - Withdraw attempt - ${newtimestamp} - Claimed {{ "False" if payhash == "payment_hash" else "True" }} @@ -146,14 +142,8 @@

ATM receipt for: "{{devicename}}"

printDialog: { show: true, data: null - }, - timestamp: '{{timestamp}}', - newtimestamp: '' + } } - }, - created() { - this.newtimestamp = new Date(this.timestamp * 1000).toUTCString() - console.log(this.newtimestamp) } }) diff --git a/views.py b/views.py index 7564fc4..7eff4bb 100644 --- a/views.py +++ b/views.py @@ -183,7 +183,6 @@ async def print_receipt(request: Request, payment_id): "payhash": lnurldevicepayment.payhash, "payload": lnurldevicepayment.payload, "sats": lnurldevicepayment.sats, - "timestamp": lnurldevicepayment.timestamp, "lnurl": lnurl, }, )