Skip to content

Commit

Permalink
new import/export command - fix disable webhook option bug
Browse files Browse the repository at this point in the history
  • Loading branch information
KarolNet committed Nov 28, 2024
1 parent 4a21ea3 commit f9540aa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions commands/importer.js
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ async function importer(directory, flotiqApiUrl, flotiqApiKey, skipDefinitions,
continue;
}

if (ContentObjects[contentTypeDefinition.name] === '_webhooks') {
if (contentTypeDefinition.name === '_webhooks') {
continue;
}

Expand All @@ -357,7 +357,7 @@ async function importer(directory, flotiqApiUrl, flotiqApiKey, skipDefinitions,
continue;
}

if (ContentObjects[contentTypeDefinition.name] === '_webhooks') {
if (contentTypeDefinition.name === '_webhooks') {
continue;
}

Expand Down Expand Up @@ -468,7 +468,7 @@ async function main(argv) {
false,
false,
true,
false,
true,
false
)
}
Expand Down

0 comments on commit f9540aa

Please sign in to comment.