diff --git a/server/schema/root_query_type.js b/server/schema/root_query_type.js index 5e3ff52f..0e6a1e7a 100644 --- a/server/schema/root_query_type.js +++ b/server/schema/root_query_type.js @@ -25,7 +25,7 @@ const RootQuery = new GraphQLObjectType({ lyric: { type: LyricType, args: { id: { type: new GraphQLNonNull(GraphQLID) } }, - resolve(parnetValue, { id }) { + resolve(parentValue, { id }) { return Lyric.findById(id); } }