Credo happiness improvement

This commit is contained in:
rinpatch 2019-04-04 09:05:59 +03:00
parent ef123e69d4
commit 2a004b566c
2 changed files with 3 additions and 3 deletions

View File

@ -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,

View File

@ -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