Fix waitFor check to handle undefined values

Co-Authored-By: hello@sideguide.dev <hello@sideguide.dev>
This commit is contained in:
Devin AI 2025-04-13 18:50:22 +00:00
parent 8bc2f16712
commit 4026866c15

View File

@ -282,7 +282,7 @@ const extractTransform = (obj) => {
obj = { ...obj, timeout: 60000 };
}
if (obj.formats?.includes("changeTracking") && obj.waitFor < 5000) {
if (obj.formats?.includes("changeTracking") && (obj.waitFor === undefined || obj.waitFor < 5000)) {
obj = { ...obj, waitFor: 5000 };
}