dont reserv other than ps5
Some checks failed
Build and Publish / BuildAndDeployAmd64 (push) Successful in 42s
Build and Publish / BuildAndDeployArm64 (push) Has been cancelled

This commit is contained in:
2025-12-03 18:46:47 +01:00
parent 8f2a354f9d
commit 1b4e769573
2 changed files with 4 additions and 6 deletions

View File

@@ -203,12 +203,6 @@ type AddRequest struct {
StoreId *string `json:"storeId"`
}
func (s *PoolServer) GetReservationTime(item *messages.AddItem) time.Duration {
// TODO: Implement reservation time calculation, nil don't require reservation
return time.Minute * 15
}
func (s *PoolServer) AddSkuRequestHandler(w http.ResponseWriter, r *http.Request, id cart.CartId) error {
addRequest := AddRequest{Quantity: 1}
err := json.NewDecoder(r.Body).Decode(&addRequest)