FIX: generate LNURL server-side for unique voucher links (#68)

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
PatMulligan 2025-12-27 09:45:57 +01:00 committed by GitHub
commit 8a20df70fe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 19 additions and 3 deletions

View file

@ -138,7 +138,7 @@ window.app = Vue.createApp({
const link = _.findWhere(this.withdrawLinks, {id: linkId})
this.qrCodeDialog.data = _.clone(link)
this.qrCodeDialog.show = true
this.activeUrl = `${window.location.origin}/withdraw/api/v1/lnurl/${link.unique_hash}`
this.activeUrl = link.lnurl_url
},
openUpdateDialog(linkId) {
let link = _.findWhere(this.withdrawLinks, {id: linkId})