it's now possible to mark relation as inheritable (previously this was hardcoded for specific relation names)

This commit is contained in:
azivner
2018-07-29 20:33:42 +02:00
parent ed1381103a
commit 2eb1a9705f
9 changed files with 18 additions and 5 deletions

View File

@@ -40,7 +40,7 @@ async function updateEntity(sync, entity, sourceId) {
await updateApiToken(entity, sourceId);
}
else {
throw new Error(`Unrecognized entity type ${sync}`);
throw new Error(`Unrecognized entity type ${entityName}`);
}
}