fix: evaluate document creation timestamps per instance

This commit is contained in:
tdurieux committed 2026-09-06 09:19:33 +02:00
1 parent f312105ec3
commit b070d7e281
7 files changed
+17 -6

No files matched your search

+1 -1
View File
@@ -54,7 +54,7 @@ const UserSchema = new Schema({
},
dateOfEntry: {
type: Date,
default: new Date(),
default: Date.now,
},
});