From b1f7ca6c63f6cdd927ab8034e54fe6d195dc8791 Mon Sep 17 00:00:00 2001 From: CJ_Clippy Date: Sat, 11 Jan 2025 20:47:15 -0800 Subject: [PATCH] use bang function --- services/bright/priv/repo/seeds.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/bright/priv/repo/seeds.exs b/services/bright/priv/repo/seeds.exs index 179d3c1..633507f 100644 --- a/services/bright/priv/repo/seeds.exs +++ b/services/bright/priv/repo/seeds.exs @@ -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