Commit a3ef2ebb authored by William Pitcock's avatar William Pitcock

mastodon api controller: client_name, not name

parent b5a92b11
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment