summaryrefslogtreecommitdiff
path: root/backend/recipe.go
diff options
context:
space:
mode:
authorschencej <55326070+schencej@users.noreply.github.com>2019-12-10 17:31:57 -0500
committerGitHub <noreply@github.com>2019-12-10 17:31:57 -0500
commitdb8efeafb8e3a427cded4ffa1b8fdcda789cbdaa (patch)
treef1a10c6a2e092de028810bc842dc11bde2580a49 /backend/recipe.go
parent58043492cf8a12d3b73dbb8760e26ffce0e2dc41 (diff)
parent3fd5630cae141bf49537537315d23bdbf92f8493 (diff)
Merge branch 'master' into top_bar
Diffstat (limited to 'backend/recipe.go')
-rw-r--r--backend/recipe.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/backend/recipe.go b/backend/recipe.go
index a3191c3..59b7366 100644
--- a/backend/recipe.go
+++ b/backend/recipe.go
@@ -6,12 +6,11 @@ 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 {
- Desc string `json:"instructions"`
+ Desc string `json:"instruction"`
Time int `json:"timer"`
}