From 23788af1574845e5f9a10ede50e2cc168837bec9 Mon Sep 17 00:00:00 2001 From: ziro Date: Fri, 13 Oct 2023 08:50:03 +0700 Subject: [PATCH] fix: Not the right order whoops --- lib/pleroma/akkoma/translators/voldy.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pleroma/akkoma/translators/voldy.ex b/lib/pleroma/akkoma/translators/voldy.ex index 0074afda2..870dc1e2f 100644 --- a/lib/pleroma/akkoma/translators/voldy.ex +++ b/lib/pleroma/akkoma/translators/voldy.ex @@ -147,7 +147,7 @@ defmodule Pleroma.Akkoma.Translators.Voldy do with {:ok, %{status: 200} = response} <- do_request(string, from_language, to_language), {:ok, body} <- Jason.decode(response.body) do - {:ok, body[0][0][1], body[2]} + {:ok, body[2], body[0][0][1]} else {:ok, %{status: status} = response} -> Logger.warning("Voldy: Request rejected: #{inspect(response)}")