Skip to content

Commit

Permalink
flip sign (#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
mlomb committed Nov 22, 2023
1 parent 8bcf36e commit 6b1be2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pipeline/aggregate/blocks/calls/CallsStats.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const fn: BlockFn<CallsStats> = (database, filters, common, args) => {
// compute time difference between calls
let diff = diffDatetime(lastCall, startDatetime);
if (diff < 0) {
secondsInCall -= diff; // remove overlap
secondsInCall += diff; // remove overlap
diff = 0;
}
timesBetween[total - 1] = diff;
Expand Down

0 comments on commit 6b1be2b

Please sign in to comment.