diff --git a/commands/importer.js b/commands/importer.js index 904a5ea..551b760 100644 --- a/commands/importer.js +++ b/commands/importer.js @@ -330,7 +330,7 @@ async function importer(directory, flotiqApiUrl, flotiqApiKey, skipDefinitions, continue; } - if (ContentObjects[contentTypeDefinition.name] === '_webhooks') { + if (contentTypeDefinition.name === '_webhooks') { continue; } @@ -357,7 +357,7 @@ async function importer(directory, flotiqApiUrl, flotiqApiKey, skipDefinitions, continue; } - if (ContentObjects[contentTypeDefinition.name] === '_webhooks') { + if (contentTypeDefinition.name === '_webhooks') { continue; } @@ -468,7 +468,7 @@ async function main(argv) { false, false, true, - false, + true, false ) }