Skip to content

Commit

Permalink
Remove PRIVACY_MANAGER_CCPA and clean up getConsentState
Browse files Browse the repository at this point in the history
  • Loading branch information
akinsola-guardian committed Sep 18, 2024
1 parent 304b89c commit db72939
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ export const ACCOUNT_ID = 1257;
export const PRIVACY_MANAGER_USNAT = 1068329;
export const PROPERTY_ID = 7417;
export const PROPERTY_ID_AUSTRALIA = 13348;
export const PRIVACY_MANAGER_CCPA = 540252;
export const PRIVACY_MANAGER_TCFV2 = 106842;
export const PRIVACY_MANAGER_AUSTRALIA = 1178486;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,8 @@ const getConsentState: () => Promise<ConsentState> = async () => {
case 'aus':
return enhanceConsentState({ aus: await getAUSConsentState() });
case 'usnat': {
const usnatConsentState = await getUSNATConsentState();
return enhanceConsentState({
usnat: usnatConsentState,
usnat: await getUSNATConsentState(),
});
}
case 'tcfv2':
Expand Down

0 comments on commit db72939

Please sign in to comment.