problems with state fixed
This commit is contained in:
@@ -107,6 +107,7 @@ Api.addRoute('state/:id', {
|
|||||||
'$set': {
|
'$set': {
|
||||||
'state.out_valve': this.bodyParams.out_valve,
|
'state.out_valve': this.bodyParams.out_valve,
|
||||||
'state.in_valve': this.bodyParams.in_valve,
|
'state.in_valve': this.bodyParams.in_valve,
|
||||||
|
'state.picture_requested': this.bodyParams.picture_requested,
|
||||||
'time': new Date(),
|
'time': new Date(),
|
||||||
'set_by': 'client'
|
'set_by': 'client'
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user