test webhook
This commit is contained in:
parent
9d2b04ddb1
commit
082f7539a7
|
|
@ -411,9 +411,9 @@ const TestDevice = ({ socket, user }) => {
|
|||
id_station: selectStation,
|
||||
});
|
||||
for (let i = 0; i < res.data.listLastLog.length; i++) {
|
||||
// if (Date.now() - res.data.listLastLog[i].created_at < 3600000) {
|
||||
if (Date.now() - res.data.listLastLog[i].created_at < 3600000) {
|
||||
temp.push(res.data.listLastLog[i]);
|
||||
// }
|
||||
}
|
||||
}
|
||||
setlistLastLogs(temp);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue