Skip to content

Commit

Permalink
reduce anon invoice expiration to 3 minutes
Browse files Browse the repository at this point in the history
  • Loading branch information
huumn committed Aug 10, 2023
1 parent ea9c405 commit 0f74893
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/resolvers/wallet.js
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ export default {
await ssValidate(amountSchema, { amount })

const user = await models.user.findUnique({ where: { id: me ? me.id : ANON_USER_ID } })
const pivot = me ? { hours: 3 } : { minutes: 5 }
const pivot = me ? { hours: 3 } : { minutes: 3 }

const expiresAt = datePivot(new Date(), pivot)
const description = `Funding @${user.name} on stacker.news`
Expand Down

0 comments on commit 0f74893

Please sign in to comment.