Apply suggestion to lib/pleroma/web/activity_pub/activity_pub_controller.ex
This commit is contained in:
parent
fb96facc32
commit
5170170483
|
@ -26,10 +26,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubController do
|
|||
|
||||
plug(
|
||||
Pleroma.Plugs.Cache,
|
||||
[
|
||||
query_params: false,
|
||||
tracking_fun: &Pleroma.Web.ActivityPub.ActivityPubController.track_object_fetch/2
|
||||
]
|
||||
[query_params: false, tracking_fun: &__MODULE__.track_object_fetch/2]
|
||||
when action in [:activity, :object]
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue