Skip to content

Commit

Permalink
Fix pokeapi reference
Browse files Browse the repository at this point in the history
  • Loading branch information
kristianfreeman committed Aug 19, 2019
1 parent 6e2b74a commit 0b6db7c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/datasources/pokeapi.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ class PokemonAPI extends RESTDataSource {
}
}

module.exports = { PokemonAPI }
module.exports = PokemonAPI
2 changes: 1 addition & 1 deletion src/handlers/apollo.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const { ApolloServer } = require('apollo-server-cloudflare')
const { graphqlCloudflare } = require('apollo-server-cloudflare/dist/cloudflareApollo')

const PokemonAPI = require('./datasources/pokeapi')
const PokemonAPI = require('../datasources/pokeapi')
const resolvers = require('../resolvers')
const typeDefs = require('../schema')

Expand Down

0 comments on commit 0b6db7c

Please sign in to comment.