Skip to content

fix(checkout6-custom): prevents TypeError from happening - #40

Open
MarlonPassos-git wants to merge 2 commits into
vtex-apps:masterfrom
MarlonPassos-git:bugfix/does-not-check-properly-checkQuotes
Open

fix(checkout6-custom): prevents TypeError from happening#40
MarlonPassos-git wants to merge 2 commits into
vtex-apps:masterfrom
MarlonPassos-git:bugfix/does-not-check-properly-checkQuotes

Conversation

@MarlonPassos-git

Copy link
Copy Markdown

An error started to appear at checkout after I set a customData.

This code always gave an error because it didn't check if the b2b-quotes-graphql field existed in the find

with this pr I can check and if it does not exist it does not continue.

image
image
image

before it only checked if customData existed.
But it doesn't mean that customData exists that there will be a field with quoteId
@vtex-io-ci-cd

vtex-io-ci-cd Bot commented Oct 20, 2022

Copy link
Copy Markdown

Hi! I'm VTEX IO CI/CD Bot and I'll be helping you to publish your app! 🤖

Please select which version do you want to release:

  • Patch (backwards-compatible bug fixes)

  • Minor (backwards-compatible functionality)

  • Major (incompatible API changes)

And then you just need to merge your PR when you are ready! There is no need to create a release commit/tag.

  • No thanks, I would rather do it manually 😞

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants