Skip to content

Commit f7a937d

Browse files
committed
Fix purpose list serialization in layer url
1 parent 8f1192d commit f7a937d

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

packages/react-native-contentpass-ui/src/components/buildFirstLayerUrl.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,7 @@ export default function buildFirstLayerUrl({
2525
url.searchParams.set('locale', 'en-US');
2626
url.searchParams.set('planId', planId);
2727
url.searchParams.set('propertyId', propertyId);
28-
url.searchParams.set(
29-
'purposesList',
30-
encodeURIComponent(purposesList.join(','))
31-
);
28+
url.searchParams.set('purposesList', purposesList.join(','));
3229
url.searchParams.set('vendorCount', vendorCount.toString());
3330
// url.searchParams.set('config', 'undefined');
3431
// FIXME why is it not able to handle the start=true parameter?

0 commit comments

Comments
 (0)