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' }