Deploy to production #11
			
				
			
		
		
		
	| 
						 | 
					@ -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`);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue