Skip to content

Commit 0a609f7

Browse files
authored
Merge pull request #78 from FullstackAcademy/fix-twitter-auth
remove mongoose relic from twitter auth
2 parents 900ae72 + ec9ae79 commit 0a609f7

File tree

1 file changed

+1
-1
lines changed
  • generated/server/app/configure/authentication

1 file changed

+1
-1
lines changed

generated/server/app/configure/authentication/twitter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ module.exports = function (app, db) {
2727
where: {
2828
twitter_id: profile.id
2929
}
30-
}).exec()
30+
})
3131
.then(function (user) {
3232
if (user) { // If a user with this twitter id already exists.
3333
return user;

0 commit comments

Comments
 (0)