mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-13 21:02:08 +08:00
fix order of user/pairedWith in withLatestFrom operator in challenges
This commit is contained in:
parent
783d7cf1ec
commit
8d293c9fc6
@ -385,7 +385,7 @@ module.exports = function(app) {
|
||||
);
|
||||
}
|
||||
})
|
||||
.withLatestFrom(Rx.Observable.just(req.user), function(user, pairedWith) {
|
||||
.withLatestFrom(Rx.Observable.just(req.user), function(pairedWith, user) {
|
||||
return {
|
||||
user: user,
|
||||
pairedWith: pairedWith
|
||||
|
||||
Loading…
Reference in New Issue
Block a user