Skip to content

Commit b02229e

Browse files
committed
Replace unsafe usage of this with named reference
1 parent db2661f commit b02229e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ module.exports = function (app) {
5757
context: delta.context,
5858
path: val.path,
5959
time: new Date(update.timestamp), // Ensure time is stored as Date
60-
uid: this.generateUID(JSON.stringify(val)), // Generate UID from the value
60+
uid: mongodb.generateUID(JSON.stringify(val)), // Generate UID from the value
6161
};
6262

6363
// Determine the type of value and handle accordingly

0 commit comments

Comments
 (0)