From 2da669b061b180056d629a90bb2bc47443e18f68 Mon Sep 17 00:00:00 2001 From: Senad Uka Date: Sat, 8 Oct 2016 18:29:52 +0200 Subject: [PATCH] problems with state fixed --- app/server/api.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/server/api.js b/app/server/api.js index 56d1473..ed6b715 100644 --- a/app/server/api.js +++ b/app/server/api.js @@ -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' }