diff --git a/node/resolvers/mutations/index.ts b/node/resolvers/mutations/index.ts index 5e06940..fb55653 100644 --- a/node/resolvers/mutations/index.ts +++ b/node/resolvers/mutations/index.ts @@ -127,7 +127,7 @@ export const Mutation = { status, subtotal, updateHistory, - viewedByCustomer: sendToSalesRep, + viewedByCustomer: !!sendToSalesRep, viewedBySales: !sendToSalesRep, salesChannel, } diff --git a/node/yarn.lock b/node/yarn.lock index 4ce9b82..704ce0e 100644 --- a/node/yarn.lock +++ b/node/yarn.lock @@ -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: