diff options
author | Ivan Tashkinov <ivantashkinov@gmail.com> | 2020-07-08 12:54:23 +0300 |
---|---|---|
committer | Ivan Tashkinov <ivantashkinov@gmail.com> | 2020-07-08 12:54:23 +0300 |
commit | a6495f4a686feb3d4728432dd075f425c04c32dd (patch) | |
tree | 4bb9748a8f5a7f7da8af3468311470095b1e164c /lib/pleroma/web/mastodon_api | |
parent | 3f8370a285d1ee705e4899656b88c442c50cb99b (diff) | |
download | pleroma-a6495f4a686feb3d4728432dd075f425c04c32dd.tar.gz |
[#1895] credo fix.
Diffstat (limited to 'lib/pleroma/web/mastodon_api')
-rw-r--r-- | lib/pleroma/web/mastodon_api/controllers/timeline_controller.ex | 2 |
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 |