removed commented line

This commit is contained in:
jothi
2025-07-31 04:03:16 +00:00
parent dbcb05d017
commit edfdc3699d

View File

@@ -99,7 +99,7 @@ func messageHandler(client mqtt.Client, msg mqtt.Message) {
return
}
// Check for duplicates keys
var exists int
existsQuery := `SELECT 1 FROM temp_live_readings WHERE created_at = $1 AND mfm_meter_id = $2 LIMIT 1`
err = db.QueryRow(existsQuery, payload.CreatedAt, mfmMeterID).Scan(&exists)