Skip to content

Commit

Permalink
Update app.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ReuschelCGN authored Mar 30, 2024
1 parent cc5bb35 commit f29c574
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ async function processOne(hook) {
}
}

if (incidentExpiration && !config.general.disableInvasion && (!config.general.disableNotConfirmedInvasion || incidentDisplayType < '7')) {
if (incidentExpiration && !config.general.disableInvasion && (!config.general.disableNotConfirmedInvasion || incidentDisplayType > '6')) {
const cacheKey = `${hook.message.pokestop_id}I${incidentExpiration}`

if (fastify.cache.get(cacheKey) && !hook.message.poracleTest) {
Expand Down

0 comments on commit f29c574

Please sign in to comment.