From 9f60e2ca48e96781f31189c8bb033044d01bbb5a Mon Sep 17 00:00:00 2001 From: Juanjo Diaz Date: Sun, 5 Apr 2020 19:18:52 +0300 Subject: [PATCH] Fix wrong call to processValue --- lib/JSON2CSVBase.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/JSON2CSVBase.js b/lib/JSON2CSVBase.js index 466d9595..708054ef 100644 --- a/lib/JSON2CSVBase.js +++ b/lib/JSON2CSVBase.js @@ -93,7 +93,7 @@ class JSON2CSVBase { */ getHeader() { return fastJoin( - this.opts.fields.map(fieldInfo => this.processValue(fieldInfo.label, true)), + this.opts.fields.map(fieldInfo => this.processValue(fieldInfo.label)), this.opts.delimiter ); }