Skip to content

Commit c4c547d

Browse files
authored
Correct small typo in jsdoc string.
1 parent 4d02710 commit c4c547d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/meters.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ export async function update({meter, explain = false} = {}) {
116116

117117
const result = await collection.updateOne(
118118
query, {$set}, database.writeOptions);
119-
// in mongodb driver 4 or greater executionStatus are replaced
119+
// in mongodb driver 4 or greater executionStats are replaced
120120
// n previously counted the number of records that matched a query
121121
// so we need the total of modified and upserted to track record change
122122
const n = result.modifiedCount + result.upsertedCount;

0 commit comments

Comments
 (0)