use bang function
This commit is contained in:
parent
1fac45f084
commit
b1f7ca6c63
|
@ -13,5 +13,5 @@
|
|||
|
||||
|
||||
for title <- ["Home Improvement", "Power Tools", "Gardening", "Books", "Education"] do
|
||||
{:ok, _} = Bright.Catalog.create_category(%{title: title})
|
||||
{:ok, _} = Bright.Catalog.create_category!(%{title: title})
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue