coerce challengeType to string to fix video challenges
parent
55ae5abb08
commit
5b3f98dc04
|
@ -257,7 +257,7 @@ export default Actions({
|
|||
// challenge completed
|
||||
let update$;
|
||||
if (isSignedIn) {
|
||||
const body = { id, name, challengeType };
|
||||
const body = { id, name, challengeType: +challengeType };
|
||||
update$ = this.postJSON$('/completed-challenge', body)
|
||||
// if post fails, will retry once
|
||||
.retry(3)
|
||||
|
|
Loading…
Reference in New Issue