feat: support lud-11 disposable links (#95)
This commit is contained in:
parent
0cf2df2dcb
commit
3dc1e86d8c
6 changed files with 29 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue