Properly set QR encoding type to alphanumeric

This commit is contained in:
Nadav Ivgi 2018-03-12 00:56:24 +02:00
parent b7da20b6f0
commit 9da051599d
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ else
p: a.btn.btn-lg.btn-primary(href=`lightning:${invoice.payreq}`) Pay now
.qr.col-sm-4.mb-3: img(src=qruri('lightning:'+invoice.payreq.toUpperCase(), { margin: 0 }))
.qr.col-sm-4.mb-3: img(src=qruri(('lightning:'+invoice.payreq).toUpperCase(), { margin: 0 }))
//- long-pull payment updates via <img> reloading hack. not the prettiest, but extremely terse, and it works
img.d-none(src='_invoice/'+invoice.id+'/longpoll.png', onerror='this.src=this.src', onload='location.reload()')