make description hash match?
This commit is contained in:
parent
48ff38dc56
commit
5928dcf06d
|
@ -14,7 +14,7 @@ export default async ({ query: { username, amount } }, res) => {
|
||||||
|
|
||||||
// generate invoice
|
// generate invoice
|
||||||
const expiresAt = new Date(new Date().setHours(new Date().getHours() + 3))
|
const expiresAt = new Date(new Date().setHours(new Date().getHours() + 3))
|
||||||
const description = `${amount} msats for @${user.name} on stacker.news`
|
const description = `Funding @${username} on stacker.news`
|
||||||
try {
|
try {
|
||||||
const invoice = await createInvoice({
|
const invoice = await createInvoice({
|
||||||
description,
|
description,
|
||||||
|
|
Loading…
Reference in New Issue