Merge pull request 'fix: comment out console log for received MQTT messages to reduce logging noise' (#55) from wisdom into main
Reviewed-on: #55
This commit is contained in:
2
app.js
2
app.js
@@ -50,7 +50,7 @@ app.use(handleError);
|
|||||||
|
|
||||||
// Saat pesan diterima
|
// Saat pesan diterima
|
||||||
mqttClient.on('message', (topic, message) => {
|
mqttClient.on('message', (topic, message) => {
|
||||||
console.log(`Received message on topic "${topic}":`, message.toString());
|
// console.log(`Received message on topic "${topic}":`, message.toString());
|
||||||
notifikasiWaService.onNotification(topic, message);
|
notifikasiWaService.onNotification(topic, message);
|
||||||
notifikasiWaService.onNotificationReminder(topic, message);
|
notifikasiWaService.onNotificationReminder(topic, message);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user