fixes
This commit is contained in:
@@ -8,6 +8,7 @@ import {
|
||||
Delete,
|
||||
Req,
|
||||
UseGuards,
|
||||
Put,
|
||||
} from '@nestjs/common';
|
||||
import { SystemService } from './system.service';
|
||||
import { CreateSystemDto } from './dto/create-system.dto';
|
||||
@@ -47,7 +48,7 @@ export class SystemController {
|
||||
return this.systemService.findOne(id);
|
||||
}
|
||||
|
||||
@Patch(':id')
|
||||
@Put(':id')
|
||||
update(@Param('id') id: string, @Body() updateSystemDto: UpdateSystemDto) {
|
||||
return this.systemService.update(id, updateSystemDto);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user