Linting.
This commit is contained in:
parent
7d790bb27b
commit
7dac83eb6e
@ -421,7 +421,8 @@ defmodule Pleroma.Web.MastodonAPI.StatusController do
|
||||
end
|
||||
|
||||
# Deactivated for 2.3.0
|
||||
# defp put_application(params, %{assigns: %{token: %Token{user: %User{} = user} = token}} = _conn) do
|
||||
# defp put_application(params,
|
||||
# %{assigns: %{token: %Token{user: %User{} = user} = token}} = _conn) do
|
||||
# if user.disclose_client do
|
||||
# %{client_name: client_name, website: website} = Repo.preload(token, :app).app
|
||||
# Map.put(params, :generator, %{type: "Application", name: client_name, url: website})
|
||||
|
Loading…
Reference in New Issue
Block a user