diff --git a/internal/app/api/v1/testsuites.go b/internal/app/api/v1/testsuites.go index 8397c717cfb..58c739b0720 100644 --- a/internal/app/api/v1/testsuites.go +++ b/internal/app/api/v1/testsuites.go @@ -852,13 +852,7 @@ func (s TestkubeAPI) ListTestSuiteTestsHandler() fiber.Handler { func getExecutionsFilterFromRequest(c *fiber.Ctx) testresult.Filter { filter := testresult.NewExecutionsFilter() - // id for /test-suites/ID/executions - name := c.Params("id", "") - if name == "" { - // query param for /executions?id - name = c.Query("id", "") - } - + name := c.Query("id", "") if name != "" { filter = filter.WithName(name) }