Skip to content

Commit

Permalink
Tweak the data model
Browse files Browse the repository at this point in the history
  • Loading branch information
tsullivan committed Apr 21, 2020
1 parent b564dc9 commit 4f83a0e
Show file tree
Hide file tree
Showing 5 changed files with 195 additions and 98 deletions.

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

Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export const decorateRangeStats = (
const {
_all: rangeAll,
status: rangeStatus,
status_by_app: rangeStatusByApp,
statuses: rangeStatusByApp,
[PDF_JOB_TYPE]: rangeStatsPdf,
...rangeStatsBasic
} = rangeStats;
Expand All @@ -74,7 +74,7 @@ export const decorateRangeStats = (
const resultStats = {
_all: rangeAll || 0,
status: { completed: 0, failed: 0, ...rangeStatus },
status_by_app: rangeStatusByApp,
statuses: rangeStatusByApp,
...rangePdf,
...rangeBasic,
} as RangeStats;
Expand Down
Loading

0 comments on commit 4f83a0e

Please sign in to comment.