diff --git a/app/steps/maybeSkipToNextHandler.js b/app/steps/maybeSkipToNextHandler.js index 9d70de14..a37fb14c 100644 --- a/app/steps/maybeSkipToNextHandler.js +++ b/app/steps/maybeSkipToNextHandler.js @@ -12,11 +12,11 @@ function maybeSkipToNextHandler(container) { .then(function (shouldSkipToNext) { if (shouldSkipToNext) { container.user.res.expressHttpProxy = container.proxy; - return Promise.reject(container.user.next()); + return Promise.reject(); } else { return Promise.resolve(container); } - }) + }); } module.exports = maybeSkipToNextHandler;