Update index.ts
This commit is contained in:
parent
4fc0be98d2
commit
99e289c812
1 changed files with 2 additions and 2 deletions
|
|
@ -286,7 +286,7 @@ export default class {
|
||||||
}
|
}
|
||||||
const res = await this.applicationManager.AddAppUserInvoice(appId, {
|
const res = await this.applicationManager.AddAppUserInvoice(appId, {
|
||||||
http_callback_url: "", payer_identifier: split[0], receiver_identifier: split[0],
|
http_callback_url: "", payer_identifier: split[0], receiver_identifier: split[0],
|
||||||
invoice_req: { amountSats: amount, memo: "free offer" }
|
invoice_req: { amountSats: amount, memo: "Default NIP-69 Offer" }
|
||||||
})
|
})
|
||||||
return { success: true, invoice: res.invoice }
|
return { success: true, invoice: res.invoice }
|
||||||
} else if (split[0] === 'p') {
|
} else if (split[0] === 'p') {
|
||||||
|
|
@ -337,4 +337,4 @@ const newNofferResponse = (content: string, event: NostrEvent): UnsignedEvent =>
|
||||||
['e', event.id],
|
['e', event.id],
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue