Passport js typo

module.exports = passport => {
passport.use(new JwtStrategy(options, (payload, done) => {
.then(user => {
if (user) {
// return the user to the frontend
return done(null, user);
// return false since there is no user
return done(null, false);
.catch(err => console.log(err));

is supposed to be

Hi @fuzzymuffin,

Can you provide more information about which course and assignment you’re working on? Are you seeing errors in code or specs, or are you curious about what is happening?

Either way, you’ll probably be able to get quicker and more accurate help by posting in the Slack channel for the course you’re working on.

If you’re just reporting a typo, there’s a form here: