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
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ def create_app(conn, params) 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,