Fix expireSecs ignored for anons (#447)

Co-authored-by: ekzyis <ek@stacker.news>
This commit is contained in:
ekzyis 2023-08-28 14:08:29 +02:00 committed by GitHub
parent 2e846af737
commit 107a7f9e77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -231,7 +231,7 @@ export default {
let balanceLimit = BALANCE_LIMIT_MSATS let balanceLimit = BALANCE_LIMIT_MSATS
let id = me?.id let id = me?.id
if (!me) { if (!me) {
expirePivot = { minutes: 3 } expirePivot = { seconds: Math.min(expireSecs, 180) }
invLimit = ANON_INV_PENDING_LIMIT invLimit = ANON_INV_PENDING_LIMIT
balanceLimit = ANON_BALANCE_LIMIT_MSATS balanceLimit = ANON_BALANCE_LIMIT_MSATS
id = ANON_USER_ID id = ANON_USER_ID