Skip to content

Commit

Permalink
Fixed typo..
Browse files Browse the repository at this point in the history
Fixed Typo.
  • Loading branch information
MrEmanuel authored Jan 20, 2022
1 parent 3c29614 commit 742268a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion objectid.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ ObjectID.isValid = function(id) {
if (id == null) return false;

try {
new ObjectId(id);
new ObjectID(id);
return true;
} catch {
return false;
Expand Down

0 comments on commit 742268a

Please sign in to comment.