mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-02-26 08:31:22 +01:00
fix: hook name
This commit is contained in:
@@ -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,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user