mastodon api controller: client_name, not name
This commit is contained in:
parent
b5a92b1199
commit
a3ef2ebb35
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user