Merge branch 'follow-pipeline' into 'develop'
[akkoma] / lib / pleroma / web / mastodon_api / controllers / timeline_controller.ex
index a23f47e54b78503553a2bb8ddddc75c478cb9fb3..ab7b1d6aa5859025cd66630ff27eb89d3041ad9c 100644 (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