This commit is contained in:
santiago
2026-01-10 09:36:28 -06:00
+10
View File
@@ -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;
}
}
}