diff --git a/src/resources/3_0_1/scalars/code.scalar.js b/src/resources/3_0_1/scalars/code.scalar.js index 0050c94f..e1d26a7a 100644 --- a/src/resources/3_0_1/scalars/code.scalar.js +++ b/src/resources/3_0_1/scalars/code.scalar.js @@ -18,7 +18,7 @@ module.exports = new GraphQLScalarType({ }, // TODO: Implement proper parsing and sanitization here parseLiteral: ast => { - let { value } = ast; + let { kind, value } = ast; return kind === Kind.STRING ? value : undefined;