fix(external): Ensure req.user on verified web token (#17225)

This commit is contained in:
Stuart Taylor
2018-05-24 12:19:51 +01:00
committed by mrugesh mohapatra
parent dfda68fb58
commit 58a5d0d181
3 changed files with 26 additions and 10 deletions

View File

@ -683,8 +683,7 @@ module.exports = function(User) {
will introduce a change in this user.
`
)
.do(console.log)
.map(() => dedent`Your settings have not been updated.`);
.map(() => dedent`Your settings have not been updated.`);
}
return Observable.from(valuesToUpdate)
.flatMap(flag => Observable.of({ flag, newValue: values[flag] }))