1
0
mirror of https://git.pleroma.social/sjw/pleroma.git synced 2024-11-16 00:46:14 +01:00

[#1895] credo fix.

This commit is contained in:
Ivan Tashkinov 2020-07-08 12:54:23 +03:00
parent 3f8370a285
commit a6495f4a68

View File

@ -88,7 +88,7 @@ defmodule Pleroma.Web.MastodonAPI.TimelineController do
)
end
defp restrict_unauthenticated?(_local_only = true) do
defp restrict_unauthenticated?(true = _local_only) do
Pleroma.Config.get([:restrict_unauthenticated, :timelines, :local])
end