Skip to content

Commit

Permalink
Fix db conn
Browse files Browse the repository at this point in the history
  • Loading branch information
sacconazzo authored Aug 30, 2024
1 parent bc146b8 commit 1b9225b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/camera/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const triggerSensorHost = process.env.TRIGGER_SENSOR_HOST;
let startInterval;

const shot = async ({ fileName, shutter }) => {
const [[{ lux }]] = await db.conn.raw(
const [[{ lux }]] = await db.raw(
`SELECT\
ch4 as lux\
FROM\
Expand Down

0 comments on commit 1b9225b

Please sign in to comment.