removed commented line
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user