Skip to content

Commit

Permalink
fix: aggregate(1) on test suite results (#4577)
Browse files Browse the repository at this point in the history
  • Loading branch information
rangoo94 authored Nov 3, 2023
1 parent e5e9348 commit 3aca561
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/repository/testresult/mongo.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ func (r *MongoRepository) GetLatestByTestSuite(ctx context.Context, testSuiteNam
{"$replaceRoot": bson.M{"newRoot": "$doc.content"}},
{"$limit": 1},
}
cursor, err := r.Coll.Aggregate(ctx, pipeline, opts)
cursor, err := r.db.Aggregate(ctx, pipeline, opts)
if err != nil {
return result, err
}
Expand Down

0 comments on commit 3aca561

Please sign in to comment.