Fix: add recipe :steps --> :grubs
This commit is contained in:
parent
4a07d98fe9
commit
307c6cfad5
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@
|
|||
|
||||
(defmethod handle-event :add-recipe [event]
|
||||
(let [recipe (-> event
|
||||
(select-keys [:id :name :steps])
|
||||
(select-keys [:id :name :grubs])
|
||||
(clojure.set/rename-keys {:id :_id}))]
|
||||
(mc/insert recipe-collection recipe)))
|
||||
|
||||
|
|
Loading…
Reference in a new issue