From 11e204e6064d118c4966c412132b979faf3af33c Mon Sep 17 00:00:00 2001 From: admin Date: Thu, 20 Nov 2025 18:33:16 +0300 Subject: [PATCH] feat: ym new key --- internal/ym/products/repository_api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/ym/products/repository_api.go b/internal/ym/products/repository_api.go index a518560..ca65b9b 100644 --- a/internal/ym/products/repository_api.go +++ b/internal/ym/products/repository_api.go @@ -348,7 +348,7 @@ func (r *apiRepository) GetProducts(ctx context.Context, marketplaceID int, req errChan <- err return } - key := GetProductKey(strconv.Itoa(int(businessID)) + strconv.Itoa(marketplaceID)) + key := GetProductKey(strconv.Itoa(int(businessID)) + ":" + strconv.Itoa(marketplaceID)) var cachedMessage pb.GetProductsResponse err = redis.ReadProtoMessage(ctx, key, &cachedMessage) if err == nil && len(cachedMessage.Offers) > 0 {