Consent log upgrade test: key order (lint)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Radosław Smoliński
2026-11-26 14:00:35 +01:00
co-authored by Claude Opus 5.5
parent c6a276823c
commit 9a448ba5df
+1 -1
View File
@@ -74,7 +74,7 @@ const post = (payload: Payload, ip: string) =>
(buildConsentLogEndpoint().handler as (r: PayloadRequest) => Promise<Response>)(
Object.assign(
new Request('http://acme.pl/api/ipal/consent', {
body: JSON.stringify({ gpc: false, id: 'a1b2c3d4e5f6a7b8c9d0e1f2', state: { analytics: true, functional: false, marketing: false, necessary: true }, version: 1 }),
body: JSON.stringify({ id: 'a1b2c3d4e5f6a7b8c9d0e1f2', gpc: false, state: { analytics: true, functional: false, marketing: false, necessary: true }, version: 1 }),
headers: { 'content-type': 'application/json', 'x-real-ip': ip },
method: 'POST',
}),