Merge branch 'develop' of https://repositorio.acatlan.unam.mx/CIDWA/Iris_back into develop
This commit is contained in:
@@ -248,4 +248,14 @@ export class ServicioController {
|
||||
return this.servicioService.update(data, files);
|
||||
}
|
||||
|
||||
@Put('registro')
|
||||
@UseGuards(AuthGuard('jwt'))
|
||||
async registro(@Body() body: { idServicio: number }) {
|
||||
try {
|
||||
return this.servicioService.registro(body.idServicio);
|
||||
} catch (error) {
|
||||
throw error;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user