problems with state fixed

This commit is contained in:
Senad Uka
2016-10-08 18:29:52 +02:00
parent 5c58f9f28d
commit 2da669b061

View File

@@ -107,6 +107,7 @@ Api.addRoute('state/:id', {
'$set': {
'state.out_valve': this.bodyParams.out_valve,
'state.in_valve': this.bodyParams.in_valve,
'state.picture_requested': this.bodyParams.picture_requested,
'time': new Date(),
'set_by': 'client'
}