This commit is contained in:
nkhangg 2025-04-17 10:59:05 +07:00
parent d181baddec
commit 0b33ceb4f3
1 changed files with 2 additions and 2 deletions

View File

@ -294,7 +294,7 @@ export class LawsonsProductBid extends ProductBid {
// Nếu giá hiện tại cao hơn giá mình đã đặt, và reversePrice vẫn trong giới hạn cho phép, và đang bị outbid thì sẽ đặt giá tiếp
if (reversePrice <= this.max_price + this.plus_price && isOutBid && currentBidAmount <= this.max_price + this.plus_price && this.max_price != maxBidAmount) {
console.log(`⚠️ [${this.id}] Outbid detected. Reverse price acceptable. Placing a new bid...`);
// await this.handlePlaceBid();
await this.handlePlaceBid();
} else {
console.log(`✅ [${this.id}] No bid needed. Conditions not met.`);
}
@ -359,7 +359,7 @@ export class LawsonsProductBid extends ProductBid {
await this.gotoLink();
}
// await this.handlePlaceBid();
await this.handlePlaceBid();
} catch (error) {
console.error(`🚨 [${this.id}] Error navigating the page: ${error}`);
}