controller id is now sent with sensor data
This commit is contained in:
@@ -13,6 +13,7 @@ Api.addRoute('sensorData', {
|
||||
humidityValue: parseFloat(this.bodyParams.humidityValue),
|
||||
tankFull: this.bodyParams.tankFull,
|
||||
owner: this.bodyParams.owner,
|
||||
controllerId: this.bodyParams.controllerId,
|
||||
created_at: new Date()
|
||||
});
|
||||
return [];
|
||||
|
||||
Reference in New Issue
Block a user