diff options
author | Tucker Evans <tuckerevans24@gmail.com> | 2019-11-10 13:41:59 -0500 |
---|---|---|
committer | Tucker Evans <tuckerevans24@gmail.com> | 2019-11-10 13:41:59 -0500 |
commit | 25e9d6a91903b45d6a62a152e230bfdbc6a41af0 (patch) | |
tree | e879f39881b9fb2d16c7b62a6c3240c44a305ca1 /recipeBuddy/src/app/add-recipe | |
parent | 2efe3ce53cebd373bf56ba7580bb63df16871bac (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 'recipeBuddy/src/app/add-recipe')
0 files changed, 0 insertions, 0 deletions