From ed0634b22025c391ba89207f1ce97127e4f20c5c Mon Sep 17 00:00:00 2001 From: Tiago Peczenyj Date: Mon, 11 Dec 2023 16:32:13 +0100 Subject: [PATCH] fix format --- lib/GDPR/IAB/TCFv2.pm | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/lib/GDPR/IAB/TCFv2.pm b/lib/GDPR/IAB/TCFv2.pm index 38b9b1b..74158bc 100644 --- a/lib/GDPR/IAB/TCFv2.pm +++ b/lib/GDPR/IAB/TCFv2.pm @@ -356,22 +356,22 @@ sub TO_JSON { } 1 .. MAX_SPECIAL_FEATURE_ID ), purpose => { - consents => $self->_format_json_subsection( - map { - [ $_ => $self->is_purpose_consent_allowed($_) - ? $true - : $false - ] - } 1 .. MAX_PURPOSE_ID, - ), - legitimate_interests => $self->_format_json_subsection( - map { - [ $_ => $self->is_purpose_legitimate_interest_allowed($_) - ? $true - : $false - ] - } 1 .. MAX_PURPOSE_ID, - ), + consents => $self->_format_json_subsection( + map { + [ $_ => $self->is_purpose_consent_allowed($_) + ? $true + : $false + ] + } 1 .. MAX_PURPOSE_ID, + ), + legitimate_interests => $self->_format_json_subsection( + map { + [ $_ => $self->is_purpose_legitimate_interest_allowed($_) + ? $true + : $false + ] + } 1 .. MAX_PURPOSE_ID, + ), }, vendor => { consents => $self->_format_json_subsection(