Update Search.ts (#127)

This commit is contained in:
Nworm
2024-07-11 20:43:26 +08:00
committed by GitHub
parent 8d19129906
commit a39a861dab

View File

@@ -98,7 +98,7 @@ export class Search extends Workers {
for (const term of relatedTerms.slice(1, 3)) {
this.bot.log('SEARCH-BING-EXTRA', `${missingPoints} Points Remaining | Query: ${term} | Mobile: ${this.bot.isMobile}`)
searchCounters = await this.bingSearch(page, query.topic)
searchCounters = await this.bingSearch(page, term)
const newMissingPoints = this.calculatePoints(searchCounters)
// If the new point amount is the same as before
@@ -334,4 +334,4 @@ export class Search extends Workers {
return missingPoints
}
}
}