Skip to content

Commit

Permalink
fix: add writeConcernErrors to correct property
Browse files Browse the repository at this point in the history
Co-Authored-By: Shil Sinha <shil.sinha@gmail.com>
  • Loading branch information
Srinand Balaji and shils committed Apr 16, 2020
1 parent a121cc1 commit 533b236
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bulk.js
Expand Up @@ -91,7 +91,7 @@ class Bulk {
}
if (cmdResult.writeConcernErrors) {
for (const writeConcernError of cmdResult.writeConcernErrors) {
result.writeErrors.push(writeConcernError);
result.writeConcernErrors.push(writeConcernError);
}
}
}
Expand Down

0 comments on commit 533b236

Please sign in to comment.