mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-11 03:39:13 +00:00
Fix activity being passed to objec_to_search_data
This commit is contained in:
parent
375154e5de
commit
41f3572152
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ defmodule Pleroma.Search.Meilisearch do
|
|||
end
|
||||
|
||||
def add_to_index(activity) do
|
||||
maybe_search_data = object_to_search_data(activity)
|
||||
maybe_search_data = object_to_search_data(activity.object)
|
||||
|
||||
if activity.data["type"] == "Create" and maybe_search_data do
|
||||
result =
|
||||
|
|
Loading…
Reference in a new issue