diff --git a/index.js b/index.js index da78c1c0c131b0932e85faaadab36cd3b14c18b5..a95541824151f92f61c41c0ccb20076a42288e0e 100644 --- a/index.js +++ b/index.js @@ -28,7 +28,9 @@ Package.register = function (handlers, app, conf) { Package.initialize = function (req, params, handlers, cb) { let config = content[params.name]; - config.resetButton = true; + if (config) { + config.resetButton = true; + } cb(config); };