add middleware writeLog
This commit is contained in:
		
							parent
							
								
									cb2cd65e13
								
							
						
					
					
						commit
						c53e40cacc
					
				| 
						 | 
					@ -283,7 +283,7 @@ export default class ErpsController {
 | 
				
			||||||
        );
 | 
					        );
 | 
				
			||||||
        // console.log(report);
 | 
					        // console.log(report);
 | 
				
			||||||
        return report.filter(
 | 
					        return report.filter(
 | 
				
			||||||
          (i) => i.SN !== "" && /^[A-Z0-9-]{5,}$/.test(i.SN) === true && i.PID !==""
 | 
					          (i) => i.SN !== "" && /^[A-Z0-9-]{5,}$/.test(i.SN) === true && i.PID !=="" && SN!=="NA"
 | 
				
			||||||
        );
 | 
					        );
 | 
				
			||||||
        // }, 15000);
 | 
					        // }, 15000);
 | 
				
			||||||
      } catch (error) {
 | 
					      } catch (error) {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue