Node.js based forum software built for the modern web
fix: hook name
Barış Soner Uşaklıd6cf5fba1cee
diff --git a/src/sitemap.js b/src/sitemap.jsindex 2260c9b466..8cde0f6a12 100644--- a/src/sitemap.js+++ b/src/sitemap.js@@ -136,7 +136,7 @@ sitemap.getTopicPage = async function (page) {tids = await privileges.topics.filterTids('topics:read', tids, 0);const topicData = await topics.getTopicsFields(tids, ['tid', 'title', 'slug', 'lastposttime']);- const data = await plugins.hooks.fire('filter:sitemap.getCategories', {+ const data = await plugins.hooks.fire('filter:sitemap.getTopics', {page: page,topics: topicData,});