mastodon api controller: client_name, not name

This commit is contained in:
William Pitcock 2018-08-16 23:49:35 +00:00
parent b5a92b1199
commit a3ef2ebb35

View file

@ -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,