Skip to content

Commit a30e6e8

Browse files
authored
Changing Object ID import on mongoKeys hook (#571)
Correcting destructuring on ObjectID import in hook mongokeys.
1 parent 6651f2b commit a30e6e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/hooks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1325,7 +1325,7 @@ Wrap MongoDB foreign keys in ObjectID.
13251325
- **Example**
13261326
13271327
```js
1328-
const { ObjectID = require('mongodb');
1328+
const { ObjectID } = require('mongodb');
13291329
const { mongoKeys } = require('feathers-hooks-common');
13301330

13311331
/* Comment Schema

0 commit comments

Comments
 (0)