Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -110,3 +110,7 @@ packages/core/@generated/persisted-documents.json
oclif.manifest.json

*storybook.log

# FastStore development files
.faststore/
packages/*/.husky/_/
3 changes: 2 additions & 1 deletion packages/api/src/platforms/vtex/resolvers/validateCart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -222,8 +222,9 @@ const isOrderFormStale = (form: OrderForm) => {

const oldEtag = faststoreData?.fields?.cartEtag

// If there's no etag, it's a new cart, so it's not stale
if (oldEtag == null) {
return true
return false
}

const newEtag = getOrderFormEtag(form)
Expand Down
Loading