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 {