entria / koa-passport-mongoose-graphql

Koa 2 server with Passport + Mongoose + GraphQL
193 stars 29 forks source link

import bug in version change #25

Closed IEfucker closed 6 years ago

IEfucker commented 6 years ago

bug report:

connect dataBase function has been changed to a default export, https://github.com/entria/koa-passport-mongoose-graphql/blob/master/src/server/db/index.js#L3

but here, curly brackets in import statement is unnecessary https://github.com/entria/koa-passport-mongoose-graphql/blob/master/src/index.js#L4

MarkVasile commented 6 years ago

Thank you Jack, fixed that and the graphql import too. Good catch.