Merge pull request #6980 from ltegman/fix/video-submissions
Fix video challenge submissions
This commit is contained in:
@ -257,7 +257,7 @@ export default Actions({
|
|||||||
// challenge completed
|
// challenge completed
|
||||||
let update$;
|
let update$;
|
||||||
if (isSignedIn) {
|
if (isSignedIn) {
|
||||||
const body = { id, name, challengeType };
|
const body = { id, name, challengeType: +challengeType };
|
||||||
update$ = this.postJSON$('/completed-challenge', body)
|
update$ = this.postJSON$('/completed-challenge', body)
|
||||||
// if post fails, will retry once
|
// if post fails, will retry once
|
||||||
.retry(3)
|
.retry(3)
|
||||||
|
Reference in New Issue
Block a user