File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
components/StickyBottomBanner Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ const containerStyles = css`
41
41
// - We're not on a Glabs paid content page
42
42
// - We've got a Braze UUID from the API, given a user's ID Creds
43
43
// - The user has given Consent via CCPA or TCFV2
44
- // - The Braze websdk appboy initialisation does not throw an error
44
+ // - The Braze websdk initialisation does not throw an error
45
45
// - The Braze app Boy subscription to in app message returns meta info
46
46
// OR
47
47
// - The force-braze-message query string arg is passed
Original file line number Diff line number Diff line change @@ -35,8 +35,8 @@ const maybeWipeUserData = async (
35
35
if ( userHasLoggedOut || userHasRemovedConsent || brazeHasBeenDisabled ) {
36
36
try {
37
37
if ( apiKey ) {
38
- const appboy = await getInitialisedBraze ( apiKey ) ;
39
- appboy . wipeData ( ) ;
38
+ const braze = await getInitialisedBraze ( apiKey ) ;
39
+ braze . wipeData ( ) ;
40
40
}
41
41
LocalMessageCache . clear ( ) ;
42
42
clearHasCurrentBrazeUser ( ) ;
@@ -98,7 +98,7 @@ export const buildBrazeMessaging = async (
98
98
'braze-sdk-load' ,
99
99
) ;
100
100
101
- const appboy = await getInitialisedBraze (
101
+ const braze = await getInitialisedBraze (
102
102
dependenciesResult . data . apiKey as string ,
103
103
) ;
104
104
@@ -116,14 +116,14 @@ export const buildBrazeMessaging = async (
116
116
} ;
117
117
118
118
setHasCurrentBrazeUser ( ) ;
119
- appboy . changeUser ( dependenciesResult . data . brazeUuid as string ) ;
120
- appboy . openSession ( ) ;
119
+ braze . changeUser ( dependenciesResult . data . brazeUuid as string ) ;
120
+ braze . openSession ( ) ;
121
121
122
122
const brazeCards = window . guardian . config . switches . brazeContentCards
123
- ? new BrazeCards ( appboy , errorHandler )
123
+ ? new BrazeCards ( braze , errorHandler )
124
124
: new NullBrazeCards ( ) ;
125
125
const brazeMessages = new BrazeMessages (
126
- appboy ,
126
+ braze ,
127
127
LocalMessageCache ,
128
128
errorHandler ,
129
129
canRenderBrazeMsg ,
You can’t perform that action at this time.
0 commit comments