fix(client): sync Redux store and DB (#39034)
This commit is contained in:
committed by
GitHub
parent
0fd8b7a6db
commit
6b8c2e74b6
@@ -79,9 +79,14 @@ function* validateUsernameSaga({ payload }) {
|
||||
function* verifyCertificationSaga({ payload }) {
|
||||
try {
|
||||
const {
|
||||
data: { response, isCertMap }
|
||||
data: { response, isCertMap, completedChallenges }
|
||||
} = yield call(putVerifyCert, payload);
|
||||
yield put(verifyCertComplete({ ...response, payload: isCertMap }));
|
||||
yield put(
|
||||
verifyCertComplete({
|
||||
...response,
|
||||
payload: { ...isCertMap, completedChallenges }
|
||||
})
|
||||
);
|
||||
yield put(createFlashMessage(response));
|
||||
} catch (e) {
|
||||
yield put(verifyCertError(e));
|
||||
|
Reference in New Issue
Block a user