From 0310c733e713009f1c3a0dbf7410b4a97ac93c53 Mon Sep 17 00:00:00 2001 From: "byte[]" Date: Sun, 29 Dec 2019 00:20:17 -0500 Subject: [PATCH] second one --- priv/repo/seeds.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/priv/repo/seeds.exs b/priv/repo/seeds.exs index ffaf23cb..00417061 100644 --- a/priv/repo/seeds.exs +++ b/priv/repo/seeds.exs @@ -70,6 +70,6 @@ for role_def <- resources["roles"] do end IO.puts "---- Indexing content" -Tag.reindex(Tag |> preload(^Tags.indexing_preloads())) +Elasticsearch.reindex(Tag |> preload(^Tags.indexing_preloads()), Tag) IO.puts "---- Done."