We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6cabcc6 commit 9b55bd2Copy full SHA for 9b55bd2
src/scalars/object-id.scalar.ts
@@ -11,7 +11,7 @@ export class ObjectIdScalar {
11
}
12
13
serialize(value: Types.ObjectId) {
14
- return value.toHexString; // value sent to the client
+ return value.toHexString(); // value sent to the client
15
16
17
parseLiteral(ast: ASTNode) {
0 commit comments