There was an error while loading. Please reload this page.
1 parent 4214e78 commit 65507b1Copy full SHA for 65507b1
1 file changed
src/commands/content-item/sync.service.ts
@@ -19,11 +19,12 @@ export class ContentItemSyncService {
19
action: (job: Job) => void,
20
options: { ignoreSchemaValidation?: boolean; forceSync?: boolean }
21
): void {
22
+ console.log(options.ignoreSchemaValidation, options.ignoreSchemaValidation ?? true);
23
this.queue.add(async () => {
24
const createSyncJob = await hub.related.jobs.createDeepSyncJob(
25
new CreateDeepSyncJobRequest({
26
label: `dc-cli content item: ${contentItem.label}`,
- ignoreSchemaValidation: options.ignoreSchemaValidation || false,
27
+ ignoreSchemaValidation: options.ignoreSchemaValidation ?? true,
28
forceSync: options.forceSync || false,
29
destinationHubId,
30
input: { rootContentItemIds: [contentItem.id] }
0 commit comments