From a3ef2ebb35901532fbf3fb754ae5a2832ed31a2b Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Thu, 16 Aug 2018 23:49:35 +0000 Subject: [PATCH] mastodon api controller: client_name, not name --- lib/pleroma/web/mastodon_api/mastodon_api_controller.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex b/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex index d3b95e793..f17e2eda2 100644 --- a/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex +++ b/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex @@ -20,7 +20,7 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIController do {:ok, app} <- Repo.insert(cs) |> IO.inspect() do res = %{ id: app.id |> to_string, - name: app.name, + name: app.client_name, client_id: app.client_id, client_secret: app.client_secret, redirect_uris: app.redirect_uris, -- 2.45.2