Skip to content

Commit

Permalink
Return original _id in getTotals request (#851)
Browse files Browse the repository at this point in the history
  • Loading branch information
jiekang authored Mar 20, 2024
1 parent 6cac289 commit cb803f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TestResultSummaryService/Database.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ class Database {
{ $match: { 'childBuilds.buildName': { $regex: buildNameRegex } } },
{
$group: {
_id: {},
_id: id ,
total: { $sum: '$childBuilds.testSummary.total' },
executed: { $sum: '$childBuilds.testSummary.executed' },
passed: { $sum: '$childBuilds.testSummary.passed' },
Expand Down

0 comments on commit cb803f2

Please sign in to comment.