From 6877d7aaad43c3b45d5dd7e13578186563a6fb95 Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Sun, 17 Sep 2017 12:08:50 +0200 Subject: [PATCH] Fix typo. --- lib/pleroma/web/twitter_api/twitter_api_controller.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pleroma/web/twitter_api/twitter_api_controller.ex b/lib/pleroma/web/twitter_api/twitter_api_controller.ex index 5297e45c6..434be4103 100644 --- a/lib/pleroma/web/twitter_api/twitter_api_controller.ex +++ b/lib/pleroma/web/twitter_api/twitter_api_controller.ex @@ -15,7 +15,7 @@ defmodule Pleroma.Web.TwitterAPI.Controller do def status_update(%{assigns: %{user: user}} = conn, %{"status" => status_text} = status_data) do with media_ids <- extract_media_ids(status_data), - {:ok, activity} = TwitterAPI.create_status(user, Map.put(status_data, "media_ids", media_ids)) do + {:ok, activity} <- TwitterAPI.create_status(user, Map.put(status_data, "media_ids", media_ids)) do conn |> json(ActivityRepresenter.to_map(activity, %{user: user})) else -- 2.45.2