We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 594104b + 0c4d0a6 commit e249665Copy full SHA for e249665
generated/server/app/configure/authentication/facebook.js
@@ -4,7 +4,7 @@ var FacebookStrategy = require('passport-facebook').Strategy;
4
5
module.exports = function (app, db) {
6
7
- var User = db.define('user');
+ var User = db.model('user');
8
9
var facebookConfig = app.getValue('env').FACEBOOK;
10
0 commit comments