From 93ccf506fb9754f4bb30b9dd4ec207bbcf24fc5c Mon Sep 17 00:00:00 2001 From: Gabriel Amorim Date: Wed, 22 Feb 2023 15:13:36 -0300 Subject: [PATCH] FIX: csv import with header=false --- src/modules/pipelinesV2/pipelines.controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/pipelinesV2/pipelines.controller.ts b/src/modules/pipelinesV2/pipelines.controller.ts index fb7c322..5b40efc 100644 --- a/src/modules/pipelinesV2/pipelines.controller.ts +++ b/src/modules/pipelinesV2/pipelines.controller.ts @@ -379,7 +379,7 @@ export class PipelinesController { const file_format_params = { ...(sep && { sep }), ...(encoding && { encoding }), - ...(header && { header }), + ...(header !== undefined ? { header } : {}), }; const source_prefix = `${user.customer_name}/${file_name}`;