mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-07-27 21:16:09 +02:00
Fix up some deprecated config refs
This commit is contained in:
parent
eb4f933285
commit
dd2a6258d5
5 changed files with 27 additions and 26 deletions
|
@ -106,9 +106,7 @@ function mergeValidateAndFinalize(config, cb) {
|
|||
return callback(null, mergedConfig);
|
||||
},
|
||||
function setIt(mergedConfig, callback) {
|
||||
// :TODO: .config property is to be deprecated once conversions are done
|
||||
exports.config = currentConfiguration = mergedConfig;
|
||||
|
||||
currentConfiguration = mergedConfig;
|
||||
exports.get = () => currentConfiguration;
|
||||
return callback(null);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue