diff options
Diffstat (limited to 'model')
-rw-r--r-- | model/recipe.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/model/recipe.go b/model/recipe.go index a9bd0fe..e49c188 100644 --- a/model/recipe.go +++ b/model/recipe.go @@ -201,7 +201,7 @@ func (r *Recipe) Update(tx *sql.Tx) error { for i := range r.Steps { r.Steps[i].Index = fmt.Sprint(i) r.Steps[i].Recipe = r.Id - r.Steps[i].Create(tx) + err = r.Steps[i].Create(tx) if err != nil { return err } |