From 1f3e660108696822c32c356e788bfd28401463d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Wed, 12 May 2021 10:22:51 -0400 Subject: [PATCH] feat: add template to hook --- src/controllers/accounts/posts.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/controllers/accounts/posts.js b/src/controllers/accounts/posts.js index 23f226a1e5..93c7d8b917 100644 --- a/src/controllers/accounts/posts.js +++ b/src/controllers/accounts/posts.js @@ -160,6 +160,7 @@ async function getPostsFromUserSet(template, req, res, callback) { if (plugins.hasListeners('filter:account.getPostsFromUserSet')) { result = await plugins.hooks.fire('filter:account.getPostsFromUserSet', { req: req, + template: template, userData: userData, settings: settings, data: data,