Skip to content

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
peczenyj committed Dec 11, 2023
1 parent d2d5066 commit ed0634b
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions lib/GDPR/IAB/TCFv2.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit ed0634b

Please sign in to comment.