mirror of
https://github.com/ershisan99/coolify.git
synced 2025-12-17 20:49:32 +00:00
v1.0.13 (#46)
This commit is contained in:
@@ -14,4 +14,4 @@ const SettingsSchema = new Schema({
|
||||
|
||||
SettingsSchema.set('timestamps', true);
|
||||
|
||||
export default mongoose.model('settings', SettingsSchema);
|
||||
export default mongoose.models['settings'] || mongoose.model('settings', SettingsSchema);
|
||||
|
||||
Reference in New Issue
Block a user