Skip to content

Commit

Permalink
Merge pull request #199 from vtex-apps/fix/brand-name
Browse files Browse the repository at this point in the history
Add brandId on productRecommendations
  • Loading branch information
Iaron da Costa Araújo committed Nov 19, 2019
2 parents 6ed4424 + f560a47 commit 9ec9cc2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Expand Up @@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]
### Added
- `brandId` on the `productRecommendations` query.

## [1.33.0] - 2019-11-11
### Added
Expand Down
1 change: 1 addition & 0 deletions react/queries/productRecommendations.gql
Expand Up @@ -11,6 +11,7 @@ query ProductRecommendations(
link
linkText
brand
brandId
categories
priceRange {
sellingPrice {
Expand Down
1 change: 1 addition & 0 deletions react/utils/propTypes.js
Expand Up @@ -11,6 +11,7 @@ export const shelfItemPropTypes = {
categories: PropTypes.array,
link: PropTypes.string.isRequired,
linkText: PropTypes.string.isRequired,
brandId: PropTypes.number,
brand: PropTypes.string.isRequired,
items: PropTypes.arrayOf(
PropTypes.shape({
Expand Down

0 comments on commit 9ec9cc2

Please sign in to comment.