mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-26 04:13:30 +03:00
Fixed undefined error
refs https://github.com/TryGhost/Toolbox/issues/135 - Not all callers provide the parameter, so an empty object default saves from unecessary "undefined" errors
This commit is contained in:
parent
640296f74b
commit
155e96b044
@ -17,7 +17,7 @@ module.exports.isFinished = async (options = {disableDbReadyEvent: false}) => {
|
||||
};
|
||||
|
||||
// @TODO: unify all the reset/softTeset helpers so they either work how the main code works or the reasons why they are different are clear
|
||||
module.exports.init = ({urlCache}) => {
|
||||
module.exports.init = ({urlCache} = {}) => {
|
||||
urlService.init({urlCache});
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user