diff --git a/module.mjs b/module.mjs index 2ef1aaa..984e538 100644 --- a/module.mjs +++ b/module.mjs @@ -29,7 +29,7 @@ } async reloadConfig() { - if (this.moduleName) this.config = getModuleConfig(this.moduleName); + if (this.moduleName) this.config = DynamicImport.getModuleConfig(this.moduleName); else log.d(new Error('Cannot reload module configuration when the module name is not present or is invalid')); } }