From 4607fd1e0a71853c32f10f19288097067b4baf2d Mon Sep 17 00:00:00 2001 From: Marc Villain Date: Thu, 7 May 2026 21:49:25 +0200 Subject: [PATCH] feat(tests): ensure all tests pass --- src/proxy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/proxy.ts b/src/proxy.ts index a905306..9759034 100644 --- a/src/proxy.ts +++ b/src/proxy.ts @@ -80,7 +80,7 @@ export function createProxyRegistry(db: Pool, postgrestUrl: string): ProxyRegist pick('prefer', 'Prefer'); pick('accept', 'Accept'); - if (req.method === 'POST' || req.method === 'PATCH' || req.method === 'DELETE') { + if (req.method === 'POST' || req.method === 'PATCH') { const existing = headers['Prefer']; if (!existing || !existing.includes('return=')) { headers['Prefer'] = existing