projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb96fac
)
Apply suggestion to lib/pleroma/web/activity_pub/activity_pub_controller.ex
author
rinpatch
<rinpatch@sdf.org>
Fri, 13 Sep 2019 10:09:46 +0000
(10:09 +0000)
committer
rinpatch
<rinpatch@sdf.org>
Fri, 13 Sep 2019 10:09:46 +0000
(10:09 +0000)
lib/pleroma/web/activity_pub/activity_pub_controller.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/activity_pub/activity_pub_controller.ex
b/lib/pleroma/web/activity_pub/activity_pub_controller.ex
index 009260d3f2b43d46183f59a56df8944b0d0656eb..0256417228cc7411dce90aa9b4ad6ed0d92c94f1 100644
(file)
--- a/
lib/pleroma/web/activity_pub/activity_pub_controller.ex
+++ b/
lib/pleroma/web/activity_pub/activity_pub_controller.ex
@@
-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]
)