assign machine
This commit is contained in:
@@ -7,8 +7,8 @@ export class BitacoraController {
|
||||
constructor(private readonly bitacoraService: BitacoraService) {}
|
||||
|
||||
@Post()
|
||||
create(@Body() createBitacoraDto: CreateBitacoraDto) {
|
||||
return this.bitacoraService.create(createBitacoraDto);
|
||||
assignment(@Body() createBitacoraDto: CreateBitacoraDto) {
|
||||
return this.bitacoraService.assignment(createBitacoraDto);
|
||||
}
|
||||
|
||||
@Get('/cuenta/:id')
|
||||
@@ -28,9 +28,9 @@ export class BitacoraController {
|
||||
) {
|
||||
return this.bitacoraService.cancelation(id, tiempo_asignado);
|
||||
}
|
||||
|
||||
@Get(':id')
|
||||
findAll(@Param('id') id: string) {
|
||||
|
||||
@Get()
|
||||
findAll() {
|
||||
return this.bitacoraService.findAll();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user