Skip to content

Commit

Permalink
added logging back
Browse files Browse the repository at this point in the history
  • Loading branch information
rmonaghanjr committed Jun 27, 2022
1 parent 915d768 commit 59292ef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api/scheduler.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ func TimingScheduler(db *sql.DB, output chan string) {

for rows.Next() {
rows.Scan(&id, &interval, &smartWater)
fmt.Println(interval)
fmt.Println(smartWater)
}

output <- "pin:on"
Expand Down

0 comments on commit 59292ef

Please sign in to comment.