Skip to content

Commit 4746942

Browse files
committed
Update function name.
1 parent 2f1e370 commit 4746942

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

iot-devices/models/devices.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ myCache.init().then(() => {
225225
myCache.set('weather', 'cloudy');
226226
});
227227

228-
function fireOverallFarmStatus() {
228+
function emitOverallFarmStatus() {
229229
if (Emitter) {
230230
myCache.get('weather').then((state) => {
231231
Emitter.emit('weather', state);
@@ -655,6 +655,6 @@ module.exports = {
655655
fireDevices,
656656
fireAnimalCollars,
657657
fireTractorStatus,
658-
fireAppStatus,
658+
emitOverallFarmStatus,
659659
initDevices,
660660
};

0 commit comments

Comments
 (0)