diff --git a/src/extensions/core/maskeditor.ts b/src/extensions/core/maskeditor.ts index 33163b032..f4544bf8a 100644 --- a/src/extensions/core/maskeditor.ts +++ b/src/extensions/core/maskeditor.ts @@ -1125,7 +1125,7 @@ class MaskEditorDialog extends ComfyDialog { .then((response) => { if (!response.ok) { console.log('Failed to upload mask:', response) - this.uploadMask(filepath, formData, 2) + this.uploadMask(filepath, formData, retries - 1) } }) .catch((error) => {