Skip to content

Commit 759ea89

Browse files
committed
Braze regions
1 parent 80b26a0 commit 759ea89

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

packages/destination-actions/src/destinations/braze/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,11 @@ const destination: DestinationDefinition<Settings> = {
4747
{ label: 'US-07 (https://dashboard-07.braze.com)', value: 'https://rest.iad-07.braze.com' },
4848
{ label: 'US-08 (https://dashboard-08.braze.com)', value: 'https://rest.iad-08.braze.com' },
4949
{ label: 'US-09 (https://dashboard-09.braze.com)', value: 'https://rest.iad-09.braze.com' },
50+
{ label: 'US-10 (https://dashboard-10.braze.com)', value: 'https://rest.iad-10.braze.com' },
5051
{ label: 'EU-01 (https://dashboard-01.braze.eu)', value: 'https://rest.fra-01.braze.eu' },
5152
{ label: 'EU-02 (https://dashboard-02.braze.eu)', value: 'https://rest.fra-02.braze.eu' },
52-
{ label: 'AU-01 (https://dashboard.au-01.braze.com)', value: 'https://rest.au-01.braze.com' }
53+
{ label: 'AU-01 (https://dashboard.au-01.braze.com)', value: 'https://rest.au-01.braze.com' },
54+
{ label: 'ID-01 (https://dashboard.id-01.braze.com)', value: 'https://rest.id-01.braze.com' }
5355
],
5456
default: 'https://rest.iad-01.braze.com',
5557
required: true

packages/destination-actions/src/destinations/braze/updateUserProfile/__tests__/__snapshots__/snapshot.test.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Object {
1313
},
1414
"date_of_first_session": "2021-02-01T00:00:00.000Z",
1515
"date_of_last_session": "2021-02-01T00:00:00.000Z",
16-
"dob": "2021-02-01",
16+
"dob": "2021-01-31",
1717
"email": "[email protected]",
1818
"email_click_tracking_disabled": false,
1919
"email_open_tracking_disabled": false,

packages/destination-actions/src/destinations/braze/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ function removeEmpty(obj: unknown) {
4848

4949
const cleaned = removeUndefined(obj)
5050
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
51-
if (typeof cleaned === 'object' && Object.keys(cleaned).length > 0) {
51+
if (typeof cleaned === 'object' && Object.keys(cleaned!).length > 0) {
5252
return cleaned
5353
}
5454

0 commit comments

Comments
 (0)