mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-03 08:25:06 +03:00
Removed eccessive parameter in map method call
no issue - There are only two parameters in `map` method. The one used here was probably some leftover from reduce or was put there by mistake
This commit is contained in:
parent
192f0d07ba
commit
c9358bdddb
@ -32,7 +32,7 @@ class BaseSiteMapGenerator {
|
||||
ts: -(self.nodeTimeLookup[id] || 0),
|
||||
node: node
|
||||
};
|
||||
}, []);
|
||||
});
|
||||
|
||||
// Sort nodes by timestamp
|
||||
const sortedNodes = _.sortBy(timedNodes, 'ts');
|
||||
|
Loading…
Reference in New Issue
Block a user