From 93ef3260aace42a25f9f2fef2caf388b53e342ab Mon Sep 17 00:00:00 2001 From: Sean Sundberg Date: Tue, 12 Sep 2023 08:18:03 -0500 Subject: [PATCH] Update questionIds definition to fix problem Signed-off-by: Sean Sundberg --- src/controllers/data-extraction/data-extraction.controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/data-extraction/data-extraction.controller.ts b/src/controllers/data-extraction/data-extraction.controller.ts index edade12..3305983 100644 --- a/src/controllers/data-extraction/data-extraction.controller.ts +++ b/src/controllers/data-extraction/data-extraction.controller.ts @@ -16,7 +16,7 @@ export class DataExtractionController { @Get('extractData') extractData( @Query('customer') customer: string, - @Query('questionIds') idStrings: string | string[] + @Query('questionIds') idStrings: string[] ) { const questionIds = Array.isArray(idStrings) ? idStrings : [idStrings]