Skip to content

Commit

Permalink
Merge pull request #897 from brave/master
Browse files Browse the repository at this point in the history
Production Release 2023-09-21
  • Loading branch information
IanKrieger authored Sep 21, 2023
2 parents 269cbd7 + de5bbc8 commit 9b11910
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 18 deletions.
26 changes: 13 additions & 13 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"date-fns": "2.30.0",
"date-fns-tz": "2.0.0",
"formik": "2.4.4",
"graphql": "16.8.0",
"graphql": "16.8.1",
"highcharts": "11.1.0",
"highcharts-react-official": "3.2.1",
"immer": "10.0.2",
Expand Down
4 changes: 2 additions & 2 deletions src/user/library/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -283,14 +283,14 @@ describe("new form tests", () => {
"name": "macos",
},
],
"perDay": 1,
"perDay": 4,
"segments": [
{
"code": "5678",
"name": "test",
},
],
"totalMax": 10,
"totalMax": 28,
},
],
"advertiserId": "12345",
Expand Down
4 changes: 2 additions & 2 deletions src/user/library/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ export function transformNewForm(
adSets: form.adSets.map((adSet) => ({
name: adSet.name,
billingType: form.billingType,
perDay: 1,
perDay: form.format === CampaignFormat.PushNotification ? 4 : 6,
segments: adSet.segments.map((s) => ({ code: s.code, name: s.name })),
oses: adSet.oses,
totalMax: 10,
totalMax: form.format === CampaignFormat.PushNotification ? 28 : 60,
conversions: transformConversion(adSet.conversions),
ads: adSet.creatives
.filter((c) => c.included)
Expand Down

0 comments on commit 9b11910

Please sign in to comment.