Remove unnecessary console log statements.
This commit is contained in:
@@ -18,9 +18,7 @@ wss.on('connection', (ws) => {
|
||||
setInterval(async () => {
|
||||
try {
|
||||
const response = await axios.post('https://vmselect.riff.cc/select/logsql/query', 'query=_time:5s relay received');
|
||||
console.log('Full response:', response);
|
||||
try {
|
||||
console.log('Raw response data:', response.data);
|
||||
const responseData = JSON.parse(response.data);
|
||||
console.log('Parsed response data:', responseData);
|
||||
const logs = responseData.data; // Assuming the logs are in responseData.data
|
||||
|
||||
Reference in New Issue
Block a user