i don´t know what i do
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user