From d0b82f418b6d1d2cbc9270358bdeac0c43d12a13 Mon Sep 17 00:00:00 2001 From: Naz Date: Mon, 30 Aug 2021 12:33:33 +0400 Subject: [PATCH] Removed unnecessary parameter no issue - The method declaration has no parameters, removed them from the method call for clarity. --- core/frontend/services/sitemap/manager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/frontend/services/sitemap/manager.js b/core/frontend/services/sitemap/manager.js index 1bb21c7977..ecf81b7bd6 100644 --- a/core/frontend/services/sitemap/manager.js +++ b/core/frontend/services/sitemap/manager.js @@ -15,7 +15,7 @@ class SiteMapManager { this.posts = options.posts || this.createPostsGenerator(options); this.users = this.authors = options.authors || this.createUsersGenerator(options); this.tags = options.tags || this.createTagsGenerator(options); - this.index = options.index || this.createIndexGenerator(options); + this.index = options.index || this.createIndexGenerator(); events.on('router.created', (router) => { if (router.name === 'StaticRoutesRouter') {