aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma
diff options
context:
space:
mode:
authorIvan Tashkinov <ivantashkinov@gmail.com>2020-07-08 12:54:23 +0300
committerIvan Tashkinov <ivantashkinov@gmail.com>2020-07-08 12:54:23 +0300
commita6495f4a686feb3d4728432dd075f425c04c32dd (patch)
tree4bb9748a8f5a7f7da8af3468311470095b1e164c /lib/pleroma
parent3f8370a285d1ee705e4899656b88c442c50cb99b (diff)
downloadpleroma-a6495f4a686feb3d4728432dd075f425c04c32dd.tar.gz
[#1895] credo fix.
Diffstat (limited to 'lib/pleroma')
-rw-r--r--lib/pleroma/web/mastodon_api/controllers/timeline_controller.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/web/mastodon_api/controllers/timeline_controller.ex b/lib/pleroma/web/mastodon_api/controllers/timeline_controller.ex
index a23f47e54..ab7b1d6aa 100644
--- a/lib/pleroma/web/mastodon_api/controllers/timeline_controller.ex
+++ b/lib/pleroma/web/mastodon_api/controllers/timeline_controller.ex
@@ -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