diff --git a/src/apps/posterize/pages/PosterizePage.tsx b/src/apps/posterize/pages/PosterizePage.tsx index 24f04de..6829568 100644 --- a/src/apps/posterize/pages/PosterizePage.tsx +++ b/src/apps/posterize/pages/PosterizePage.tsx @@ -51,7 +51,7 @@ const PosterizePage = () => { body: JSON.stringify({ b64_png: selectedImage, gray: gray, - ...(gray ? {} : { sigma: sigma }) + sigma: sigma }), }) diff --git a/src/apps/tracy/pages/TracyPage.tsx b/src/apps/tracy/pages/TracyPage.tsx index bcfcbb1..acdb399 100644 --- a/src/apps/tracy/pages/TracyPage.tsx +++ b/src/apps/tracy/pages/TracyPage.tsx @@ -140,7 +140,8 @@ const TracyPage = () => { }, body: JSON.stringify({ b64_png: imageData.base64_png, - gray: true + gray: true, + sigma: null }), })