uniqueLogs.length

This commit is contained in:
Sefinek 2024-10-10 10:50:41 +02:00
parent 11b86be200
commit 26a3af164a

View file

@ -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) {