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.
1 parent 594104b commit 0c4d0a6Copy full SHA for 0c4d0a6
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