mirror of
https://git.youjo.love/youjo/youjo-be.git
synced 2024-11-20 05:49:54 +01:00
Change updateId to uid because apparently that's the new name
This commit is contained in:
parent
b7462040cc
commit
563b964690
2 changed files with 2 additions and 2 deletions
|
@ -91,7 +91,7 @@ defmodule Mix.Tasks.Pleroma.Search.Meilisearch 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)}")
|
||||
end
|
||||
else
|
||||
|
|
|
@ -153,7 +153,7 @@ defmodule Pleroma.Search.Meilisearch do
|
|||
)
|
||||
|
||||
with {:ok, res} <- result,
|
||||
true <- Map.has_key?(res, "updateId") do
|
||||
true <- Map.has_key?(res, "uid") do
|
||||
# Do nothing
|
||||
else
|
||||
_ ->
|
||||
|
|
Loading…
Reference in a new issue