Skip to content

Commit

Permalink
DOP-4096: Create new timestamp when inserting pages and metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
rayangler committed Oct 17, 2023
1 parent 9075d99 commit b3cdc72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/persistence/src/services/connector/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
);
Expand Down

0 comments on commit b3cdc72

Please sign in to comment.