Skip to content

Commit

Permalink
🐛 Remove required field from exported questionnaire
Browse files Browse the repository at this point in the history
Signed-off-by: ibolton336 <[email protected]>
  • Loading branch information
ibolton336 committed Dec 11, 2023
1 parent e99029b commit 664e9ef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/src/app/queries/questionnaires.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ export const downloadQuestionnaire = async (
delete yamlData.updateUser;
delete yamlData.createTime;
delete yamlData.id;
delete yamlData.required;

Check warning on line 163 in client/src/app/queries/questionnaires.ts

View check run for this annotation

Codecov / codecov/patch

client/src/app/queries/questionnaires.ts#L163

Added line #L163 was not covered by tests

const newYamlData = yaml.dump(yamlData);

Expand Down

0 comments on commit 664e9ef

Please sign in to comment.