diff --git a/README.md b/README.md index b9652756..2dc1cae7 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,11 @@ easy as: $ foreman start ``` -See the Procfile for more. +See the Procfile to understand other services launched. + +## API + +When running in development, this API has a GraphiQL instance at http://localhost:5000/graphiql ## Creating a Submission diff --git a/app/graph/types/query_type.rb b/app/graph/types/query_type.rb index 66fbdbcb..609fc593 100644 --- a/app/graph/types/query_type.rb +++ b/app/graph/types/query_type.rb @@ -6,7 +6,6 @@ module Types description 'Find Submissions' argument :ids, types[types.ID] argument :id, types.ID - argument :completed, types.Boolean resolve ->(_object, args, _context) { args[:ids] ? Submission.where(id: args[:ids]) : [Submission.find(args[:id])]