projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
418212c
)
maybe
author
FloatingGhost
<hannah@coffee-and-dreams.uk>
Thu, 16 Dec 2021 15:20:22 +0000
(15:20 +0000)
committer
FloatingGhost
<hannah@coffee-and-dreams.uk>
Thu, 16 Dec 2021 15:20:22 +0000
(15:20 +0000)
lib/pleroma/hashtag.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/hashtag.ex
b/lib/pleroma/hashtag.ex
index 1eae4d1e71166ee87adddb0d16d3fb3e87ca836a..cdbfeab02b4b2d974248c23c9f5d3da9f2b39429 100644
(file)
--- 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}