Skip to content

Commit

Permalink
Fix TypeORM error on login
Browse files Browse the repository at this point in the history
Fixes #32
  • Loading branch information
blms committed Jul 29, 2020
1 parent 4c554ce commit addc981
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/api/auth/[...nextauth].js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const options = {

adapter: Adapters.TypeORM.Adapter(process.env.MONGODB_URI,
{
models: {
customModels: {
User: Models.User,
},
}),
Expand Down

0 comments on commit addc981

Please sign in to comment.