moleculer-postgis
Advanced tools
Comparing version 0.2.2 to 0.2.3
{ | ||
"name": "moleculer-postgis", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"description": "Postgis mixin and functions for @moleculer/database", | ||
@@ -5,0 +5,0 @@ "main": "./src/index.js", |
@@ -139,2 +139,4 @@ "use strict"; | ||
} | ||
if (!item.geom) | ||
return acc; | ||
acc[`${item.id}`] = GeoJSON.parse(Object.assign(Object.assign({}, item.geom), { properties: itemProperties })); | ||
@@ -141,0 +143,0 @@ return acc; |
Sorry, the diff of this file is not supported yet
51074
517