logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git
commit: 84608be87e2c5961a4deb9030307c978bf1168e5
parent 1e23f527e3e22108b402552a0766e488048ed3f4
Author: Ekaterina Vaartis <vaartis@kotobank.ch>
Date:   Tue, 22 Mar 2022 20:45:49 +0300

Change updateId to uid because apparently that's the new name

Diffstat:

Mlib/mix/tasks/pleroma/search/meilisearch.ex2+-
Mlib/pleroma/search/meilisearch.ex2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/mix/tasks/pleroma/search/meilisearch.ex b/lib/mix/tasks/pleroma/search/meilisearch.ex @@ -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 diff --git a/lib/pleroma/search/meilisearch.ex b/lib/pleroma/search/meilisearch.ex @@ -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 _ ->