diff --git a/src/destinations/postgresDestination.js b/src/destinations/postgresDestination.js index bf3e91e..49a6bbb 100644 --- a/src/destinations/postgresDestination.js +++ b/src/destinations/postgresDestination.js @@ -8,7 +8,7 @@ function isKeyWord(column) { } function getMappingForColumn(mapping, column){ - if(mapping.length === 0) { return } + if(mapping.length === 0) { return {} } const [map] = mapping.filter(m => m.column === column) return map }