update screenshot

This commit is contained in:
joseph le 2023-09-15 13:36:11 +07:00
parent 2c3114fdc1
commit feaf862e14
1 changed files with 10 additions and 10 deletions

View File

@ -177,8 +177,8 @@ export async function runtimeCheckLogs(folderPath) {
fileDetect?.id_ldf
);
// await screenShot(fileName);
// const uriImage = await uploadFileToZulip();
await screenShot(fileName);
const uriImage = await uploadFileToZulip();
let listReport = await getListLineByItem(
logsDetect[0].filter((l) => l.line > lastLine)
);
@ -217,10 +217,10 @@ export async function runtimeCheckLogs(folderPath) {
content +
"\n\n" +
spoiler
// +
// "\n\n[image](" +
// uriImage +
// ")\n"
+
"\n\n[image](" +
uriImage +
")\n"
);
sendMessToZulip(
@ -233,10 +233,10 @@ export async function runtimeCheckLogs(folderPath) {
content +
"\n\n" +
spoiler
// +
// "\n\n[image](" +
// uriImage +
// ")\n"
+
"\n\n[image](" +
uriImage +
")\n"
);
// }, 3000);
}