Change updateId to uid because apparently that's the new name
This commit is contained in:
parent
1e23f527e3
commit
84608be87e
@ -91,7 +91,7 @@ defmodule Mix.Tasks.Pleroma.Search.Meilisearch do
|
|||||||
)
|
)
|
||||||
|
|
||||||
with {:ok, res} <- result do
|
with {:ok, res} <- result do
|
||||||
if not Map.has_key?(res, "updateId") do
|
if not Map.has_key?(res, "uid") do
|
||||||
IO.puts("\nFailed to index: #{inspect(result)}")
|
IO.puts("\nFailed to index: #{inspect(result)}")
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
|
@ -153,7 +153,7 @@ defmodule Pleroma.Search.Meilisearch do
|
|||||||
)
|
)
|
||||||
|
|
||||||
with {:ok, res} <- result,
|
with {:ok, res} <- result,
|
||||||
true <- Map.has_key?(res, "updateId") do
|
true <- Map.has_key?(res, "uid") do
|
||||||
# Do nothing
|
# Do nothing
|
||||||
else
|
else
|
||||||
_ ->
|
_ ->
|
||||||
|
Loading…
Reference in New Issue
Block a user