From 2abf8c982e72a1b7c76879423954dbde2427bf9c Mon Sep 17 00:00:00 2001 From: FloatingGhost Date: Sat, 11 Jun 2022 16:48:04 +0100 Subject: [PATCH] fix secret key failure --- lib/pleroma/web/common_api.ex | 2 +- test/pleroma/web/metadata/providers/open_graph_test.exs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/pleroma/web/common_api.ex b/lib/pleroma/web/common_api.ex index 4a7c9178d..92afd5cb6 100644 --- a/lib/pleroma/web/common_api.ex +++ b/lib/pleroma/web/common_api.ex @@ -271,7 +271,7 @@ def unreact_with_emoji(id, user, emoji) do {:ok, activity, _} <- Pipeline.common_pipeline(undo, local: true) do {:ok, activity} else - e -> + _ -> {:error, dgettext("errors", "Could not remove reaction emoji")} end end diff --git a/test/pleroma/web/metadata/providers/open_graph_test.exs b/test/pleroma/web/metadata/providers/open_graph_test.exs index d15db20e2..28ca8839c 100644 --- a/test/pleroma/web/metadata/providers/open_graph_test.exs +++ b/test/pleroma/web/metadata/providers/open_graph_test.exs @@ -144,7 +144,7 @@ test "video attachments have image thumbnail with WxH metadata with Preview Prox [ property: "og:image", content: - "http://localhost:4001/proxy/preview/FElXD3PfapZSKq-u62Dc3BiaIM8/aHR0cHM6Ly9wbGVyb21hLmdvdi9hYm91dC9qdWNoZS53ZWJt/juche.webm" + "http://localhost:4001/proxy/preview/LzAnlke-l5oZbNzWsrHfprX1rGw/aHR0cHM6Ly9wbGVyb21hLmdvdi9hYm91dC9qdWNoZS53ZWJt/juche.webm" ], []} in result end