diff options
Diffstat (limited to 'lib/api')
-rw-r--r-- | lib/api/decodeConfig.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/api/decodeConfig.js b/lib/api/decodeConfig.js index 351ed05..5e00df5 100644 --- a/lib/api/decodeConfig.js +++ b/lib/api/decodeConfig.js @@ -1,5 +1,3 @@ -var Config = require('../models/config'); - /** Decode changes from a JS API to a config object @@ -13,7 +11,7 @@ function decodeGlobal(config, result) { delete values.generator; delete values.output; - return Config.updateValues(config, values); + return config.updateValues(values); } module.exports = decodeGlobal; |