Credo happiness improvement
This commit is contained in:
parent
ef123e69d4
commit
2a004b566c
|
@ -100,9 +100,9 @@ defmodule Pleroma.Web.ActivityPub.MRF.KeywordPolicy do
|
|||
end
|
||||
end
|
||||
|
||||
def list_keyword_policy(), do: Pleroma.Config.get(:mrf_keyword)
|
||||
def list_keyword_policy, do: Pleroma.Config.get(:mrf_keyword)
|
||||
|
||||
def nodeinfo_keyword_policy() do
|
||||
def nodeinfo_keyword_policy do
|
||||
Pleroma.Config.get(:mrf_keyword, [])
|
||||
|> Enum.map(fn {key, value} ->
|
||||
{key,
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
defmodule Pleroma.Web.AdminAPI.AdminAPIController do
|
||||
use Pleroma.Web, :controller
|
||||
alias Pleroma.User
|
||||
alias Pleroma.Web.ActivityPub.Relay
|
||||
alias Pleroma.Web.ActivityPub.MRF.KeywordPolicy
|
||||
alias Pleroma.Web.ActivityPub.Relay
|
||||
alias Pleroma.Web.AdminAPI.AccountView
|
||||
alias Pleroma.Web.AdminAPI.Search
|
||||
|
||||
|
|
Loading…
Reference in New Issue