summaryrefslogtreecommitdiff
path: root/backend/recipe.go
diff options
context:
space:
mode:
authorTucker Evans <tuckerevans24@gmail.com>2019-12-09 17:29:18 -0500
committerTucker Evans <tuckerevans24@gmail.com>2019-12-09 17:29:18 -0500
commit59e6f7ebe87c516752275d11673557cc58ed9d09 (patch)
tree9adf966d727dcb911d0e67d89e1b5b4781178ff1 /backend/recipe.go
parentc37cbf8fbdb48ce8fc14a76ded2ff5401d7bae4d (diff)
Fix ingredient unit type to be same across frontend & backend
Diffstat (limited to 'backend/recipe.go')
-rw-r--r--backend/recipe.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/backend/recipe.go b/backend/recipe.go
index a3191c3..3511fd6 100644
--- a/backend/recipe.go
+++ b/backend/recipe.go
@@ -6,8 +6,7 @@ import "strings"
type Ingredient struct {
Name string `json:"name"`
Amount float64 `json:"amount"`
- Unit string `json:"units"`
- Type string `json:"type"`
+ Unit string `json:"unit"`
}
type Step struct {