FIX: create partial input

This commit is contained in:
Gabriel Rosa
2022-05-25 11:09:24 -03:00
parent 2344e4dba3
commit e52af6844b
5 changed files with 30 additions and 15 deletions
+2 -2
View File
@@ -4,8 +4,8 @@ import {
Delete,
Get,
Param,
Patch,
Post,
Put,
} from '@nestjs/common';
import { InputsService } from './inputs.service';
import { InputsClientService } from 'src/clients/inputs/client.service';
@@ -71,7 +71,7 @@ export class InputsController {
return response;
}
@Put(':id')
@Patch(':id')
async update(@Body() updateInputDto: UpdateInputRequest, @Param() params) {
const { id } = params;
const { info } = updateInputDto;