diff --git a/lib/db/api.js b/lib/db/api.js index 6b665104..90e30f4a 100644 --- a/lib/db/api.js +++ b/lib/db/api.js @@ -163,6 +163,7 @@ dbapi.unsetDeviceOwner = function(serial) { dbapi.setDeviceAbsent = function(serial) { return db.run(r.table('devices').get(serial).update({ present: false + , ready: false })) }