diff --git a/Projects/1-Beginner/IOT-Mailbox-App.md b/Projects/1-Beginner/IOT-Mailbox-App.md index df66319c..2e20f0f2 100644 --- a/Projects/1-Beginner/IOT-Mailbox-App.md +++ b/Projects/1-Beginner/IOT-Mailbox-App.md @@ -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; } };