diff --git a/lib/mix/tasks/pleroma/search/meilisearch.ex b/lib/mix/tasks/pleroma/search/meilisearch.ex
index 3b134ad3f..62ace7e39 100644
--- a/lib/mix/tasks/pleroma/search/meilisearch.ex
+++ b/lib/mix/tasks/pleroma/search/meilisearch.ex
@@ -82,7 +82,8 @@ def run(["index" | args]) do
                     do: "code",
                     else: "errorCode"
 
-                # Filter out the already indexed documents. This is true when the document does not exist
+                # Filter out the already indexed documents.
+                # This is true when the document does not exist
                 result[error_code_key] == "document_not_found"
               else
                 true
diff --git a/lib/pleroma/search/meilisearch.ex b/lib/pleroma/search/meilisearch.ex
index d94ab8b64..41f99ad9f 100644
--- a/lib/pleroma/search/meilisearch.ex
+++ b/lib/pleroma/search/meilisearch.ex
@@ -7,7 +7,7 @@ defmodule Pleroma.Search.Meilisearch do
   import Pleroma.Activity.Search
   import Ecto.Query
 
-  defp meili_headers() do
+  defp meili_headers do
     private_key = Pleroma.Config.get([Pleroma.Search.Meilisearch, :private_key])
 
     [{"Content-Type", "application/json"}] ++
diff --git a/test/pleroma/search/meilisearch_test.exs b/test/pleroma/search/meilisearch_test.exs
index 6e13c8edf..251388ea2 100644
--- a/test/pleroma/search/meilisearch_test.exs
+++ b/test/pleroma/search/meilisearch_test.exs
@@ -11,8 +11,8 @@ defmodule Pleroma.Search.MeilisearchTest do
   import Tesla.Mock
   import Mock
 
-  alias Pleroma.Web.CommonAPI
   alias Pleroma.Search.Meilisearch
+  alias Pleroma.Web.CommonAPI
 
   setup_all do
     Tesla.Mock.mock_global(fn env -> apply(HttpRequestMock, :request, [env]) end)