utsushiiro 7 anni fa
parent
commit
7a8d8d8fd4
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/server/service/config-loader.js

+ 1 - 1
src/server/service/config-loader.js

@@ -44,7 +44,7 @@ class ConfigLoader {
     await this.integrateEnvVars();
 
     const config = {};
-    const docs = await this.configModel.find().sort({ns: 1, key: 1}).exec();
+    const docs = await this.configModel.find().exec();
 
     for (const doc of docs) {
       if (!config[doc.ns]) {