reduce anon invoice expiration to 3 minutes

This commit is contained in:
keyan 2023-08-10 18:40:11 -05:00
parent ea9c405dfa
commit 0f74893c7d
1 changed files with 1 additions and 1 deletions

View File

@ -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`