Merge branch 'develop' into fix/nodemailer_relay
This commit is contained in:
14 files changed
+99
-45
No files matched your search
@@ -60,6 +60,9 @@ class SettingsService {
|
||||
}
|
||||
|
||||
async getDBSettings() {
|
||||
// Remove any old settings
|
||||
await this.appSettings.deleteMany({ version: { $exists: false } });
|
||||
|
||||
let settings = await this.appSettings
|
||||
.findOne({ singleton: true })
|
||||
.select("-__v -_id -createdAt -updatedAt -singleton")
|
||||
|
||||
Reference in new issue
Block a user