mirror of
https://github.com/wassname/talk.git
synced 2026-08-12 12:30:39 +08:00
Change default settings=null to settings={}
This commit is contained in:
+1
-1
@@ -45,7 +45,7 @@ const AssetSchema = new Schema({
|
||||
// always after running `rectifySettings` against it.
|
||||
settings: {
|
||||
type: Schema.Types.Mixed,
|
||||
default: null
|
||||
default: {},
|
||||
},
|
||||
|
||||
// Tags are added by the self or by administrators.
|
||||
|
||||
Reference in New Issue
Block a user