Skip to content

Commit

Permalink
fix: set viewedByCustomer value corectly on quote creation
Browse files Browse the repository at this point in the history
  • Loading branch information
enzomerca committed Sep 3, 2024
1 parent 57a5a3c commit 21c89c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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
2 changes: 1 addition & 1 deletion node/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1522,7 +1522,7 @@ sprintf-js@~1.0.2:
resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c"
integrity sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=

"stats-lite@github:vtex/node-stats-lite#dist":
stats-lite@vtex/node-stats-lite#dist:
version "2.2.0"
resolved "https://codeload.github.com/vtex/node-stats-lite/tar.gz/1b0d39cc41ef7aaecfd541191f877887a2044797"
dependencies:
Expand Down

0 comments on commit 21c89c5

Please sign in to comment.