feat(tests): ensure all tests pass

This commit is contained in:
2026-05-07 21:49:25 +02:00
parent 941093b2cf
commit 4607fd1e0a
+1 -1
View File
@@ -80,7 +80,7 @@ export function createProxyRegistry(db: Pool, postgrestUrl: string): ProxyRegist
pick('prefer', 'Prefer'); pick('prefer', 'Prefer');
pick('accept', 'Accept'); pick('accept', 'Accept');
if (req.method === 'POST' || req.method === 'PATCH' || req.method === 'DELETE') { if (req.method === 'POST' || req.method === 'PATCH') {
const existing = headers['Prefer']; const existing = headers['Prefer'];
if (!existing || !existing.includes('return=')) { if (!existing || !existing.includes('return=')) {
headers['Prefer'] = existing headers['Prefer'] = existing