change runtimeCheckLog
This commit is contained in:
parent
aa9b721bfd
commit
42845467ef
|
|
@ -196,7 +196,8 @@ export async function runtimeCheckLogs(folderPath) {
|
|||
console.log(
|
||||
`${fileName} has changed ---SOS---${lines.length}`
|
||||
);
|
||||
let allReport_new = await LogReport.all();
|
||||
let allReport_new = await LogReport.query()
|
||||
.whereRaw(`DATE(created_at) = ?`, [today])
|
||||
let fileDetect = allFile?.filter(
|
||||
(i) => i.$original.file_name === fileName
|
||||
)[0];
|
||||
|
|
|
|||
Loading…
Reference in New Issue