Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ module.exports = function (app) {
context: delta.context,
path: val.path,
time: new Date(update.timestamp), // Ensure time is stored as Date
uid: this.generateUID(JSON.stringify(val)), // Generate UID from the value
uid: mongodb.generateUID(JSON.stringify(val)), // Generate UID from the value
};

// Determine the type of value and handle accordingly
Expand Down