From 7d74162eeb69811700f30074d22f5fc9c754c0bc Mon Sep 17 00:00:00 2001 From: Becky Gilbert Date: Thu, 17 Oct 2024 15:08:36 -0700 Subject: [PATCH] use default: undefined for required params --- packages/record/src/consentVideo.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/record/src/consentVideo.ts b/packages/record/src/consentVideo.ts index eeda729e..0f249afb 100644 --- a/packages/record/src/consentVideo.ts +++ b/packages/record/src/consentVideo.ts @@ -26,14 +26,14 @@ const info = { gdpr: { type: ParameterType.BOOL, default: false }, gdpr_personal_data: { type: ParameterType.STRING, default: "" }, gdpr_sensitive_data: { type: ParameterType.STRING, default: "" }, - PIName: { type: ParameterType.STRING, default: "" }, + PIName: { type: ParameterType.STRING, default: undefined }, include_databrary: { type: ParameterType.BOOL, default: false }, - institution: { type: ParameterType.STRING, default: "" }, - PIContact: { type: ParameterType.STRING, default: "" }, - payment: { type: ParameterType.STRING, default: "" }, + institution: { type: ParameterType.STRING, default: undefined }, + PIContact: { type: ParameterType.STRING, default: undefined }, + payment: { type: ParameterType.STRING, default: undefined }, private_level_only: { type: ParameterType.BOOL, default: false }, - procedures: { type: ParameterType.STRING, default: "" }, - purpose: { type: ParameterType.STRING, default: "" }, + procedures: { type: ParameterType.STRING, default: undefined }, + purpose: { type: ParameterType.STRING, default: undefined }, research_rights_statement: { type: ParameterType.STRING, default: "" }, risk_statement: { type: ParameterType.STRING, default: "" }, voluntary_participation: { type: ParameterType.STRING, default: "" },