Skip to content

Commit

Permalink
ggg
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrzz98 committed Feb 9, 2023
1 parent 7350540 commit b46dc2b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public ResponseEntity<ResponseDTO> editarCliente(@RequestBody Cliente cliente){
@DeleteMapping(value = "/delete", produces = MediaType.APPLICATION_JSON)
@CrossOrigin(origins = "*")
public ResponseEntity<ResponseDTO> eliminarCliente(@RequestParam Long id){
return clienteService.getClienteById(id).build();
return clienteService.eliminarEmpleado(id).build();
}

@GetMapping(value = "/", produces = MediaType.APPLICATION_JSON)
Expand Down

0 comments on commit b46dc2b

Please sign in to comment.