Remove duplicate function call

This commit is contained in:
Ekaterina Vaartis 2022-08-26 23:39:58 +03:00
parent b150e6f15e
commit e20f74c71b
1 changed files with 0 additions and 1 deletions

View File

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