feat(client): execute backend challenge saga

This commit is contained in:
Valeriy S
2018-12-10 10:00:26 +03:00
committed by Stuart Taylor
parent 6d7744646d
commit c43dfe1eb7
2 changed files with 35 additions and 12 deletions

View File

@@ -1,4 +1,3 @@
import { of } from 'rxjs';
import { flow } from 'lodash';
import { throwers } from '../rechallenge/throwers';
@@ -111,9 +110,8 @@ export function buildBackendChallenge(state) {
const {
solution: { value: url }
} = backendFormValuesSelector(state);
return of({
return {
build: frameRunner,
sources: { url },
checkChallengePayload: { solution: url }
});
sources: { url }
};
}