From 3f42a493378eb9277eee7882d5a40ec335bd08ee Mon Sep 17 00:00:00 2001 From: Hyeseong Kim Date: Fri, 7 Jun 2024 19:32:44 +0900 Subject: [PATCH] Revert "websites-integration: return 400 on handled cases" This reverts commit 147a9fb95090ea1a8a5c54dcc5211b66c710602b. --- .../websites-integration/functions/deployments/[id]/callback.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_workers/websites-integration/functions/deployments/[id]/callback.ts b/_workers/websites-integration/functions/deployments/[id]/callback.ts index 16211138d..fa91a729f 100644 --- a/_workers/websites-integration/functions/deployments/[id]/callback.ts +++ b/_workers/websites-integration/functions/deployments/[id]/callback.ts @@ -26,7 +26,7 @@ export const onRequestPost: PagesFunction = async (context) => { console.error(err); // @ts-ignore - return json({ message: err?.message || err.toString() }, { status: 400 }); + return json({ message: err?.message || err.toString() }, { status: 500 }); } return json(null, { status: 204 });