diff --git a/apps/api/src/controllers/v1/types.ts b/apps/api/src/controllers/v1/types.ts index 56a93072..780541ba 100644 --- a/apps/api/src/controllers/v1/types.ts +++ b/apps/api/src/controllers/v1/types.ts @@ -282,6 +282,10 @@ const extractTransform = (obj) => { obj = { ...obj, timeout: 60000 }; } + if (obj.formats?.includes("changeTracking") && (obj.waitFor === undefined || obj.waitFor < 5000)) { + obj = { ...obj, waitFor: 5000 }; + } + if (obj.formats?.includes("json")) { obj.formats.push("extract"); }