diff --git a/test/consentLogUpgrade.test.ts b/test/consentLogUpgrade.test.ts index 465ea46..b72ec2e 100644 --- a/test/consentLogUpgrade.test.ts +++ b/test/consentLogUpgrade.test.ts @@ -74,7 +74,7 @@ const post = (payload: Payload, ip: string) => (buildConsentLogEndpoint().handler as (r: PayloadRequest) => Promise)( 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', }),