arreglamos pujaaaaa, ahora se puede editar las pujas sin problemas, antes no guardaba los cambios de las puja solo actualizaba el socket, ahora los datos persisten
This commit is contained in:
@@ -7,6 +7,7 @@ import org.springframework.http.ResponseEntity;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Optional;
|
||||
|
||||
@RestController
|
||||
@RequestMapping("/api/pujas")
|
||||
@@ -38,7 +39,7 @@ public class PujaController {
|
||||
|
||||
//get coincidir con lote y remate
|
||||
@GetMapping("/loteyremate/{loteId}/{remateId}")
|
||||
public List<Puja> getForLoteAndRemate(@PathVariable Long loteId,@PathVariable Long remateId){
|
||||
public List<Puja> getForLoteAndRemate(@PathVariable Long loteId, @PathVariable Long remateId){
|
||||
return pujaService.findForLoteAndRemate(loteId,remateId);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user