Update index.ts

This commit is contained in:
Justin (shocknet) 2024-09-10 12:39:59 -04:00 committed by GitHub
parent 4fc0be98d2
commit 99e289c812
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -286,7 +286,7 @@ export default class {
}
const res = await this.applicationManager.AddAppUserInvoice(appId, {
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 }
} else if (split[0] === 'p') {
@ -337,4 +337,4 @@ const newNofferResponse = (content: string, event: NostrEvent): UnsignedEvent =>
['e', event.id],
],
}
}
}