I don't know why I didn't just do this from the start

This commit is contained in:
2026-02-02 20:04:46 -07:00
parent 14b6522af8
commit fbf5a46e74
16 changed files with 122 additions and 26 deletions

View File

@@ -61,6 +61,8 @@ export async function handler (context: Context) {
for (const key of requiredKeys) {
if (!(key in body)) {
connection0.end()
connection1.end()
return jsonResponse(
{ success: false, message: 'Invalid POST data', data: null },
400