Skip to content

Commit

Permalink
Merge pull request #52 from vtex-apps/B2BTEAM-1866-fix-quote-expired-…
Browse files Browse the repository at this point in the history
…error

fix: set viewedByCustomer value correctly on quote creation
  • Loading branch information
enzomerca authored Sep 9, 2024
2 parents 58d4f06 + f1808cd commit d37be01
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Fixed
- Set viewedByCustomer value corectly on quote creation

## [2.6.0] - 2024-09-04

### Added
Expand Down
2 changes: 1 addition & 1 deletion node/resolvers/mutations/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export const Mutation = {
status,
subtotal,
updateHistory,
viewedByCustomer: sendToSalesRep,
viewedByCustomer: !!sendToSalesRep,
viewedBySales: !sendToSalesRep,
salesChannel,
}
Expand Down

0 comments on commit d37be01

Please sign in to comment.