Skip to content

Commit

Permalink
Update upsertPreChallenges.js
Browse files Browse the repository at this point in the history
re-map commcare choice values incorrectly coded
  • Loading branch information
aleksa-krolls authored Aug 21, 2024
1 parent fb77003 commit ff34880
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions jobs/upsertPreChallenges.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,19 @@ fn(state => {
case 'verdade':
case 'concorda':
case 'concordo':
case 'choice1':
return 1;
case 'false':
case 'no':
case 'disagree':
case 'discorda':
case 'discordo':
case 'falso':
case 'choice6':
case 'choice3':
return 2;
case 'i_dont_know':
case 'na':
return 3;
case 'unanswered':
return 4;
Expand Down

0 comments on commit ff34880

Please sign in to comment.