From 21313cae7ecf6564cf4ce20979b26f84f19147d7 Mon Sep 17 00:00:00 2001 From: Steve Liles Date: Mon, 14 Jun 2021 12:37:10 +0100 Subject: [PATCH] fixes array serialization see https://github.com/koopjs/koop-provider-elasticsearch/issues/36 --- src/utils/hitConverter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/hitConverter.js b/src/utils/hitConverter.js index 5e5fd31..c2ea5db 100644 --- a/src/utils/hitConverter.js +++ b/src/utils/hitConverter.js @@ -30,7 +30,7 @@ class HitConverter{ type: 'Feature', properties: {} }; - hit._source = flatten(hit._source, {safe:true}); + hit._source = flatten(hit._source, {safe:false}); if(!indexConfig.shapeIndex){ if(!indexConfig.isTable){