Skip to content

Commit

Permalink
Merge con rama 03_Registrar_Producto_3
Browse files Browse the repository at this point in the history
Merge y corrección de errores
  • Loading branch information
Karen1308 committed Dec 6, 2023
2 parents cc9b78e + c57dd11 commit 449ee8a
Show file tree
Hide file tree
Showing 49 changed files with 10,740 additions and 7,441 deletions.
1 change: 1 addition & 0 deletions Back/.idea/.name

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

54 changes: 54 additions & 0 deletions Back/.idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Empty file removed Back/api/reporteErrores.log
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class SalidaController {
private SalidaService salidaService;

@PostMapping
public ResponseEntity<SalidaDTO> agregarSalida(@RequestBody Salida salida) {
public ResponseEntity<SalidaDTO> agregarSalida(@RequestBody Salida salida) throws BadRequestException {
SalidaDTO nuevaSalida = salidaService.agregar(salida);
return nuevaSalida != null ? ResponseEntity.ok(nuevaSalida) : ResponseEntity.badRequest().build();
}
Expand Down
Loading

0 comments on commit 449ee8a

Please sign in to comment.