cool-entity
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "cool-entity", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -15,3 +15,3 @@ const Promise = require('bluebird'); | ||
function buildCoolRelationInputList(relation, relationEntity, fieldName, parentQuery) { | ||
const subEntityInfo = relation.coolDataManager.entityInfo; | ||
const subEntityInfo = relation.coolEntity.entityInfo; | ||
if (relationEntity) { | ||
@@ -39,3 +39,3 @@ return buildInputList(subEntityInfo.fields, relationEntity) | ||
function buildCoolCollectionInputList(collection, relationCollection, fieldName, parentQuery) { | ||
const subEntityInfo = collection.coolDataManager.entityInfo; | ||
const subEntityInfo = collection.coolEntity.entityInfo; | ||
if (relationCollection) { | ||
@@ -42,0 +42,0 @@ return Promise.mapSeries( |
575771