Skip to content

Commit ac7a99f

Browse files
minor naming tweak
1 parent 6504907 commit ac7a99f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utilities/__tests__/buildASTSchema.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ import { buildASTSchema } from '../buildASTSchema';
2020
* into an in-memory GraphQLSchema, and then finally
2121
* printing that GraphQL into the DSL
2222
*/
23-
function cycleOutput(body, queryType, mutationQuery) {
23+
function cycleOutput(body, queryType, mutationType) {
2424
var ast = parseSchemaIntoAST(body);
25-
var schema = buildASTSchema(ast, queryType, mutationQuery);
25+
var schema = buildASTSchema(ast, queryType, mutationType);
2626
return '\n' + printSchema(schema);
2727
}
2828

0 commit comments

Comments
 (0)