Skip to content

Commit

Permalink
Feature: Fix time calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexSim93 committed Jan 7, 2025
1 parent c152728 commit 4b85b2b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
3 changes: 2 additions & 1 deletion build/index.js

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

9 changes: 7 additions & 2 deletions src/converters/utils/prepareResponseTime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,17 @@ export const prepareResponseTime = (
},
getMultipleValuesInput("HOLIDAYS")
)
);
)
.filter((el) => typeof el === "number") as number[];
set(
collection,
[userKey, key, "timeWaitingForRepeatedReview"],
[
...get(collection, [userKey, key, "timeWaitingForRepeatedReview"], []),
...get(
collection,
[userKey, key, "timeWaitingForRepeatedReview"],
[]
),
...awaitingResponse,
]
);
Expand Down

0 comments on commit 4b85b2b

Please sign in to comment.