Removed "this." of function block variable

pull/816/head
Benjamin D'Hoop 2 years ago
parent 08b771c863
commit 593ed2de47

@ -72,7 +72,7 @@ class IOTMailbox {
? Math.random().toFixed(2) * -1
: Math.random().toFixed(2);
console.log(`Mailbox state changed - lightLevel: ${lightLevel}`);
this.signalCallback(this.lightLevel);
this.signalCallback(lightLevel);
this.lastLightLevel = lightLevel;
}
};

Loading…
Cancel
Save