Remove debug js for mqtt messasges to make it easier #424
This commit is contained in:
parent
1b2ea61891
commit
718125f2bf
1 changed files with 2 additions and 2 deletions
|
|
@ -60,7 +60,7 @@ class MapEventHandler {
|
|||
|
||||
onMessage(msg) {
|
||||
// console.log(msg);
|
||||
console.log('received message');
|
||||
// console.log('received message');
|
||||
|
||||
var channel = msg.destinationName;
|
||||
var chan_split = channel.split('/');
|
||||
|
|
@ -78,7 +78,7 @@ class MapEventHandler {
|
|||
}
|
||||
|
||||
handleRider(chan_split, payload) {
|
||||
console.log("rider message");
|
||||
// console.log("rider message");
|
||||
switch (chan_split[2]) {
|
||||
case "availability":
|
||||
console.log("got availability for rider " + chan_split[1] + " - " + payload);
|
||||
|
|
|
|||
Loading…
Reference in a new issue