diff --git a/auto-bid-server/src/modules/mails/services/mails.service.ts b/auto-bid-server/src/modules/mails/services/mails.service.ts index d62f1ef..fcdfe8b 100644 --- a/auto-bid-server/src/modules/mails/services/mails.service.ts +++ b/auto-bid-server/src/modules/mails/services/mails.service.ts @@ -282,6 +282,7 @@ export class MailsService { return `

✅ Auto Bid Started

+ ${renderRow('ID', String(bid.id))} ${renderRow('Title', title)} ${renderRow('Max', max)} ${renderRow('End time', endTime)} @@ -300,6 +301,7 @@ export class MailsService { return `

⏳ Auction Ended

+ ${renderRow('ID', String(bid.id))} ${renderRow('Title', title)} ${renderRow('End time', endTime)} ${renderRow('Final price', competitor)} @@ -312,6 +314,7 @@ export class MailsService { return `

⚠️ Outbid (${timeExtended})

+ ${renderRow('ID', String(bid.id))} ${renderRow('Title', title)} ${renderRow('Competitor', competitor)} ${renderRow('Max', max)} @@ -326,6 +329,7 @@ export class MailsService { return `

🛑 Auction Canceled (${timeExtended})

+ ${renderRow('ID', String(bid.id))} ${renderRow('Title', title)} ${renderRow('Competitor', competitor)} ${renderRow('Max', max)} @@ -341,6 +345,7 @@ export class MailsService { return `

🎉 You Won!

+ ${renderRow('ID', String(bid.id))} ${renderRow('Title', title)} ${renderRow('Price won', `$${bid.current_price}`)} ${renderRow('Max', max)} @@ -352,6 +357,7 @@ export class MailsService { return `

❓ Unknown Status

+ ${renderRow('ID', String(bid.id))} ${renderRow('Title', title)} ${renderRow('From', from)}
diff --git a/auto-bid-tool/models/allbids.com.au/allbids-product-bid.js b/auto-bid-tool/models/allbids.com.au/allbids-product-bid.js index 196c1e9..9dbb859 100644 --- a/auto-bid-tool/models/allbids.com.au/allbids-product-bid.js +++ b/auto-bid-tool/models/allbids.com.au/allbids-product-bid.js @@ -292,7 +292,9 @@ export class AllbidsProductBid extends ProductBid { console.log( `⚠️ [${this.id}] Outbid detected, calling outBid function.`, ); + // await outBid(this.id); + await this.update(); return; }