From: FloatingGhost Date: Thu, 16 Dec 2021 15:20:22 +0000 (+0000) Subject: maybe X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=1745606ab59863139445c8a5ad157326b7c2eab5;p=akkoma maybe --- diff --git a/lib/pleroma/hashtag.ex b/lib/pleroma/hashtag.ex index 1eae4d1e7..cdbfeab02 100644 --- a/lib/pleroma/hashtag.ex +++ b/lib/pleroma/hashtag.ex @@ -61,7 +61,7 @@ defmodule Pleroma.Hashtag do {:ok, Repo.all(from(ht in Hashtag, where: ht.name in ^names))} end) |> Repo.transaction() do - Pleroma.Elasticsearch.bulk_post(hashtags, :hashtags) + Pleroma.Elasticsearch.maybe_bulk_post(hashtags, :hashtags) {:ok, hashtags} else {:error, _name, value, _changes_so_far} -> {:error, value}