meilisearch: remove duplicate preload

This commit is contained in:
Oneric 2024-05-02 22:44:41 +02:00
parent 8afc3bee7a
commit 5d6cb6a459

View file

@ -93,7 +93,6 @@ def search(user, query, options \\ []) do
hits
|> Activity.create_by_object_ap_id()
|> Activity.with_preloaded_object()
|> Activity.with_preloaded_object()
|> Activity.restrict_deactivated_users()
|> maybe_restrict_local(user)
|> maybe_restrict_author(author)