delete debug code

This commit is contained in:
nkhangg 2025-04-12 08:49:10 +07:00
parent bd55531c46
commit cb32ee9059
1 changed files with 6 additions and 6 deletions

View File

@ -24,9 +24,9 @@ export class LangtonsProductBid extends ProductBid {
return el ? el.innerText : null; return el ? el.innerText : null;
}); });
// return time ? convertAETtoUTC(time) : null; return time ? convertAETtoUTC(time) : null;
return new Date(Date.now() + 6 * 60 * 1000).toUTCString(); // return new Date(Date.now() + 6 * 60 * 1000).toUTCString();
} catch (error) { } catch (error) {
// Nếu có lỗi xảy ra trong quá trình lấy thời gian, trả về null // Nếu có lỗi xảy ra trong quá trình lấy thời gian, trả về null
return null; return null;
@ -121,12 +121,12 @@ export class LangtonsProductBid extends ProductBid {
lot_id: result?.lotId || null, lot_id: result?.lotId || null,
reserve_price: result.lotData?.minimumBid || null, reserve_price: result.lotData?.minimumBid || null,
current_price: result.lotData?.currentMaxBid || null, current_price: result.lotData?.currentMaxBid || null,
close_time: close_time && !this.close_time ? String(close_time) : null, // close_time: close_time && !this.close_time ? String(close_time) : null,
// close_time: close_time ? String(close_time) : null, close_time: close_time ? String(close_time) : null,
name, name,
}, },
[], // [],
// ['close_time'], ['close_time'],
); );
console.log(`🚀 [${this.id}] Processed data ready for update`); console.log(`🚀 [${this.id}] Processed data ready for update`);