diff --git a/modules/persistence/src/services/connector/index.ts b/modules/persistence/src/services/connector/index.ts index 2b1dfe888..e06c7890f 100644 --- a/modules/persistence/src/services/connector/index.ts +++ b/modules/persistence/src/services/connector/index.ts @@ -47,7 +47,7 @@ export const insert = async (docs: any[], collection: string, buildId: ObjectId, docs.map((d) => ({ ...d, build_id: buildId, - created_at: buildId.getTimestamp(), + created_at: new Date(), })), { ordered: false } );