Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

Commit

Permalink
do it everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
rubben-88 committed May 23, 2024
1 parent 5a7a887 commit c1a84a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/components/SimpleTests/SimpleTests.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ function json_to_submission(json: any): Submission {
break;
}
case 'EXTENSION_NOT_PRESENT': {
constraint = new Constraint('EXTENSION_NOT_PRESENT', json['extension'], id, parent_id, depth);
constraint = new Constraint('EXTENSION_NOT_PRESENT', json['not_present_extension'], id, parent_id, depth);
break;
}
case 'EXTENSION_ONLY_PRESENT': {
Expand Down Expand Up @@ -147,7 +147,7 @@ function json_to_submission(json: any): Submission {
break;
}
case 'EXTENSION_NOT_PRESENT': {
constraint = new Constraint('EXTENSION_NOT_PRESENT', json['extension'], id, undefined, 0);
constraint = new Constraint('EXTENSION_NOT_PRESENT', json['not_present_extension'], id, undefined, 0);
break;
}
case 'EXTENSION_ONLY_PRESENT': {
Expand Down

0 comments on commit c1a84a4

Please sign in to comment.