uniqueLogs.length
This commit is contained in:
parent
11b86be200
commit
26a3af164a
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ module.exports = async () => {
|
||||||
headers: { 'Authorization': process.env.SEFINEK_API_SECRET }
|
headers: { 'Authorization': process.env.SEFINEK_API_SECRET }
|
||||||
});
|
});
|
||||||
|
|
||||||
log('log', `Successfully sent ${res.data.count} logs to Sefinek API. Status: ${res.status}`);
|
log('log', `Successfully sent ${uniqueLogs.length} logs to Sefinek API. Status: ${res.status}`);
|
||||||
|
|
||||||
uniqueLogs.forEach(ip => updateSefinekAPIInCSV(ip.rayId, true));
|
uniqueLogs.forEach(ip => updateSefinekAPIInCSV(ip.rayId, true));
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue