Update packages/cli/src/evaluation/test-definitions.controller.ee.ts

Co-authored-by: Tomi Turtiainen <10324676+tomi@users.noreply.github.com>
This commit is contained in:
Eugene 2024-11-11 11:51:59 +01:00 committed by GitHub
parent 66c189ea00
commit 8edb6d3aee
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -65,7 +65,7 @@ export class TestDefinitionsController {
}
@Patch('/:id')
async update(req: TestDefinitionsRequest.Update) {
async patch(req: TestDefinitionsRequest.Patch) {
if (!isPositiveInteger(req.params.id)) {
throw new BadRequestError('Test ID is not a number');
}