update info bid submitted mail

This commit is contained in:
Admin 2026-02-10 16:35:42 +07:00
parent b4b12f033c
commit 0dd8591573
1 changed files with 4 additions and 2 deletions

View File

@ -245,11 +245,13 @@ export class AllbidsProductBid extends ProductBid {
const currentHigherBid = historiesData[0];
const histories = _.orderBy(this.histories, ["price"], "desc");
if (
!isTimeReached(new Date(result.aucCloseUtc).toUTCString()) &&
currentHigherBid?.userName !== this?.web_bid?.display_name &&
this?.web_bid?.display_name &&
currentHigherBid?.amount === this.histories[0].price &&
currentHigherBid?.amount === histories[0].price &&
currentHigherBid?.amount >= this.max_price
) {
console.log(
@ -290,7 +292,7 @@ export class AllbidsProductBid extends ProductBid {
console.log(
`⚠️ [${this.id}] Outbid detected, calling outBid function.`,
);
await outBid(this.id);
// await outBid(this.id);
return;
}