fixd allbids bidding

This commit is contained in:
Admin 2025-07-08 15:09:09 +07:00
parent 41e174f545
commit 3a1a63bf2a
1 changed files with 1 additions and 1 deletions

View File

@ -277,7 +277,7 @@ export class AllbidsProductBid extends ProductBid {
}
// Kiểm tra thời gian bid
if (this.start_bid_time && !isTimeReached(this.start_bid_time)) {
if (!this.start_bid_time || !isTimeReached(this.start_bid_time)) {
console.log(
`⏳ [${this.id}] Not yet time to bid. Skipping Product: ${
this.name || "None"