From 23297cb4d906fb8db13736bc6ac52bc7bca9ea05 Mon Sep 17 00:00:00 2001 From: Jared Schoeny Date: Sat, 27 Dec 2025 14:38:27 -1000 Subject: [PATCH] Fix new hack not auto-publishing patch --- src/components/Hack/HackSubmitForm.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Hack/HackSubmitForm.tsx b/src/components/Hack/HackSubmitForm.tsx index a6c2a07..f20617a 100644 --- a/src/components/Hack/HackSubmitForm.tsx +++ b/src/components/Hack/HackSubmitForm.tsx @@ -479,7 +479,7 @@ export default function HackSubmitForm({ if (patchFile) { console.log('[HackSubmitForm] Uploading patch...'); await fetch(presigned.presignedUrl, { method: 'PUT', body: patchFile, headers: { 'Content-Type': 'application/octet-stream' } }); - const finalized = await confirmPatchUpload({ slug: prepared.slug, objectKey: presigned.objectKey!, version, firstUpload: true }); + const finalized = await confirmPatchUpload({ slug: prepared.slug, objectKey: presigned.objectKey!, version, firstUpload: true, publishAutomatically: true }); if (!finalized.ok) throw new Error(finalized.error || 'Failed to finalize'); try { if (draftKey) {