forked from AkkomaGang/akkoma
Apply suggestion to lib/pleroma/web/activity_pub/activity_pub_controller.ex
This commit is contained in:
parent
fb96facc32
commit
5170170483
1 changed files with 1 additions and 4 deletions
|
@ -26,10 +26,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubController do
|
||||||
|
|
||||||
plug(
|
plug(
|
||||||
Pleroma.Plugs.Cache,
|
Pleroma.Plugs.Cache,
|
||||||
[
|
[query_params: false, tracking_fun: &__MODULE__.track_object_fetch/2]
|
||||||
query_params: false,
|
|
||||||
tracking_fun: &Pleroma.Web.ActivityPub.ActivityPubController.track_object_fetch/2
|
|
||||||
]
|
|
||||||
when action in [:activity, :object]
|
when action in [:activity, :object]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue