add webhook gitea

This commit is contained in:
joseph le 2023-09-20 16:18:28 +07:00
parent ba039431ef
commit 2cebc3aa7e
1 changed files with 2 additions and 2 deletions

View File

@ -377,9 +377,9 @@ const TestDevice = ({ socket, user }) => {
}); });
let temp2 = []; let temp2 = [];
for (let i = 0; i < res1.data.listLastLog.length; i++) { for (let i = 0; i < res1.data.listLastLog.length; i++) {
// if (Date.now() - res1.data.listLastLog[i].created_at < 3600000) { if (Date.now() - res1.data.listLastLog[i].created_at < 3600000) {
temp2.push(res1.data.listLastLog[i]); temp2.push(res1.data.listLastLog[i]);
// } }
} }
temp1.push({ idSta: allStation[j].id_station, temp2 }); temp1.push({ idSta: allStation[j].id_station, temp2 });
} }