Skip to content

Commit 96adab7

Browse files
Update buildBrazeMessaging.ts
1 parent 5c76279 commit 96adab7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dotcom-rendering/src/lib/braze/buildBrazeMessaging.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import {
1919
setHasCurrentBrazeUser,
2020
} from '../hasCurrentBrazeUser';
2121
import { checkBrazeDependencies } from './checkBrazeDependencies';
22-
import { getInitialisedAppboy } from './initialiseAppboy';
22+
import { getInitialisedBraze } from './initialiseBraze';
2323

2424
const maybeWipeUserData = async (
2525
apiKey?: string,
@@ -35,7 +35,7 @@ const maybeWipeUserData = async (
3535
if (userHasLoggedOut || userHasRemovedConsent || brazeHasBeenDisabled) {
3636
try {
3737
if (apiKey) {
38-
const appboy = await getInitialisedAppboy(apiKey);
38+
const appboy = await getInitialisedBraze(apiKey);
3939
appboy.wipeData();
4040
}
4141
LocalMessageCache.clear();
@@ -98,7 +98,7 @@ export const buildBrazeMessaging = async (
9898
'braze-sdk-load',
9999
);
100100

101-
const appboy = await getInitialisedAppboy(
101+
const appboy = await getInitialisedBraze(
102102
dependenciesResult.data.apiKey as string,
103103
);
104104

0 commit comments

Comments
 (0)