feat: support lud-11 disposable links (#95)

This commit is contained in:
dni ⚡ 2025-08-14 12:16:16 +02:00 committed by GitHub
commit 3dc1e86d8c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 29 additions and 4 deletions

View file

@ -11,7 +11,6 @@ const mapPayLink = obj => {
obj._data = _.clone(obj)
obj.created_at = LNbits.utils.formatDateString(obj.created_at)
obj.updated_at = LNbits.utils.formatDateString(obj.updated_at)
obj.print_url = [locationPath, 'print/', obj.id].join('')
obj.pay_url = [locationPath, 'link/', obj.id].join('')
return obj