i don´t know what i do

This commit is contained in:
2024-06-19 12:49:28 -06:00
parent 80df1e6c71
commit 215c9f6ce5
2 changed files with 7 additions and 6 deletions
+2 -2
View File
@@ -37,8 +37,8 @@ export class AuthController {
}
@Put('Modificacion/:id')
async update(@Param('id') userId: number, @Body() updateUserDto: Record<string, any>) {
return this.authService.update(userId, updateUserDto);
async update(@Param('id') userId: number, @Body() data: registerDto) {
return this.authService.update(userId, data);
}
@Delete(':id')