From b1e270a8613a4718967e4c07503ca9c0f0619fc9 Mon Sep 17 00:00:00 2001 From: Jon Breen Date: Tue, 20 Feb 2024 14:44:40 +0000 Subject: [PATCH] Added headers for success response --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 06d5efa..35cc0a5 100644 --- a/src/index.ts +++ b/src/index.ts @@ -146,7 +146,7 @@ export default { let result = await insert.run(); if (result.success) { - return new Response(); + return new Response("Submitted", { headers }); } else { return new Response("Unable to accept", { headers, status: 400 }); }