fix: add missing sorting parameter to REST API call and test

This commit is contained in:
Christoph Kluge
2024-12-17 15:14:24 +01:00
parent 9248ee8868
commit ee2c5b58d7
2 changed files with 2 additions and 2 deletions

View File

@@ -111,7 +111,7 @@ func BenchmarkDB_QueryJobs(b *testing.B) {
user := "mppi133h"
filter.User = &model.StringInput{Eq: &user}
page := &model.PageRequest{ItemsPerPage: 50, Page: 1}
order := &model.OrderByInput{Field: "startTime", Order: model.SortDirectionEnumDesc}
order := &model.OrderByInput{Field: "startTime", Type: "col", Order: model.SortDirectionEnumDesc}
b.Run("QueryJobs", func(b *testing.B) {
db := setup(b)