From 1e8a075d5d0e539fbb8ba9963dc54d3f5acf2835 Mon Sep 17 00:00:00 2001 From: Piotr Biernat Date: Tue, 20 Dec 2022 11:22:24 +0100 Subject: [PATCH] update --- http/catalog.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/http/catalog.go b/http/catalog.go index 7b5d08c..67b6d74 100644 --- a/http/catalog.go +++ b/http/catalog.go @@ -5,7 +5,8 @@ type AddProductToBasketRequest struct { } type AddProductToBasketResponse struct { - BasketID string `json:"basket_id"` + ProductID int `json:"product_id"` + BasketID string `json:"basket_id"` } type RemoveProductFromBasketRequest struct {