mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-14 16:44:07 -08:00
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:
parent
66c189ea00
commit
8edb6d3aee
|
@ -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');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue