Skip to content

Commit

Permalink
Dropped timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
arcbtc committed Oct 7, 2024
1 parent 98351cc commit 966a2ab
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
12 changes: 1 addition & 11 deletions templates/lnurldevice/atm_receipt.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ <h3>ATM receipt for: "{{devicename}}"</h3>
<td><b>Device</b></td>
<td>{{devicename}} ({{deviceid}})</td>
</tr>
<tr>
<td><b>Withdraw attempt</b></td>
<td>${newtimestamp}</td>
</tr>
<tr>
<td><b>Claimed</b></td>
<td>{{ "False" if payhash == "payment_hash" else "True" }}</td>
Expand Down Expand Up @@ -146,14 +142,8 @@ <h3>ATM receipt for: "{{devicename}}"</h3>
printDialog: {
show: true,
data: null
},
timestamp: '{{timestamp}}',
newtimestamp: ''
}
}
},
created() {
this.newtimestamp = new Date(this.timestamp * 1000).toUTCString()
console.log(this.newtimestamp)
}
})
</script>
Expand Down
1 change: 0 additions & 1 deletion views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
)

0 comments on commit 966a2ab

Please sign in to comment.