fix: remove semicolon after Date.now()

This commit is contained in:
Leon Xu committed 2022-04-12 12:41:52 -07:00
1 parent 1c535b4830
commit 3ccc395e25
1 file changed
+4 -4
+4 -4
View File
@@ -9,10 +9,10 @@ const ncovChinaSchema = mongoose.Schema({
},
],
date: {
type: Date,
default: Date.now();
}
type: Date,
default: Date.now(),
},
});
const ncovChinaData = mongoose.model('ncovChinaData', ncovChinaSchema);
const ncovChinaData = mongoose.model("ncovChinaData", ncovChinaSchema);
export default ncovChinaData;