Skip to content

Commit

Permalink
BI-19: Removed unused typeDefs, added comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushtiwari110 committed Oct 17, 2023
1 parent 318fca9 commit 8dc049d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/app/api/graphql/route.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,8 @@ const resolvers = {

const typeDefs = gql`
type Query {
hello: String
university_name(id: ID!): String
}
type Name {
name: String
}
`

let plugins = []
Expand All @@ -62,4 +58,5 @@ const server = new ApolloServer({

const handler = startServerAndCreateNextHandler(server)

//Exports the handler function to be used as a Next.js API route handler.
export { handler as GET, handler as POST }

0 comments on commit 8dc049d

Please sign in to comment.