Style fixes
This commit is contained in:
parent
7009ef5672
commit
39e596a5b5
3 changed files with 4 additions and 3 deletions
|
|
@ -82,7 +82,8 @@ defmodule Mix.Tasks.Pleroma.Search.Meilisearch 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
|
||||
|
|
|
|||
|
|
@ -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"}] ++
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue