0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00

Removed unnecessary parameter

no issue

- The method declaration has no parameters, removed them from the method call for clarity.
This commit is contained in:
Naz 2021-08-30 12:33:33 +04:00
parent c9358bdddb
commit d0b82f418b

View file

@ -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') {