Skip to content

Commit

Permalink
assign correct publisher, school boy error
Browse files Browse the repository at this point in the history
  • Loading branch information
FredericHeem committed Apr 4, 2018
1 parent 97098bb commit 66379b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/plugins/users/PassportAuth.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ let config = require('config');
let log = require('logfilename')(__filename);

export default function(app) {
const publisher = {app};
const {publisher} = app;
let models = app.data.sequelize.models;

registerJwt(passport, models);
Expand Down

0 comments on commit 66379b9

Please sign in to comment.