summaryrefslogtreecommitdiff
path: root/backend/main.go
diff options
context:
space:
mode:
authorTucker Evans <tuckerevans24@gmail.com>2019-11-10 13:41:59 -0500
committerTucker Evans <tuckerevans24@gmail.com>2019-11-10 13:41:59 -0500
commit25e9d6a91903b45d6a62a152e230bfdbc6a41af0 (patch)
treee879f39881b9fb2d16c7b62a6c3240c44a305ca1 /backend/main.go
parent2efe3ce53cebd373bf56ba7580bb63df16871bac (diff)
Fix RecipeFromId expects only one row from database
Now uses sql.QueryRow rather than sql.Query so it doesnt have to check row.Next(), just have to check that row was returned (on scan call)
Diffstat (limited to 'backend/main.go')
0 files changed, 0 insertions, 0 deletions