From: William Pitcock Date: Thu, 16 Aug 2018 23:49:35 +0000 (+0000) Subject: mastodon api controller: client_name, not name X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=a3ef2ebb35901532fbf3fb754ae5a2832ed31a2b;p=akkoma mastodon api controller: client_name, not name --- 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,