diff --git a/modules/functions.js b/modules/functions.js index 5fa6e43..af3e358 100644 --- a/modules/functions.js +++ b/modules/functions.js @@ -265,7 +265,7 @@ const functions = { let { status } = config; let { rows } = res; status.auger = rows.auger; - status.blower = rows.blower; + status.exhaust = rows.blower; // TODO update db to use exhaust not blower status.igniter = rows.igniter; status.igniterFinished = rows.igniter_finished; status.pof = rows.proof_of_fire; @@ -277,8 +277,8 @@ const functions = { dbfn.all(selectTimestampsQuery).then(res => { let { timestamps } = config; let { rows } = res; - timestamps.blowerOff = rows.blower_off; - timestamps.blowerOn = rows.blower_on; + timestamps.exhaustOff = rows.blower_off; + timestamps.exhaustOn = rows.blower_on; timestamps.igniterOff = rows.igniter_off; timestamps.igniterOn = rows.igniter_on; timestamps.procStart = rows.process_start;