Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: awaited recursive createHandle call #6496 #6565

Conversation

smriti0710
Copy link

Resolves #6496
Impact: minor
Type: bugfix

Issue

createHandle is a recursive function to determine an available product handle.
It is async due to the database queries which need to be awaited.
The recursive call should be awaited aswell

Solution

Await createHandle.

@changeset-bot
Copy link

changeset-bot bot commented Oct 15, 2022

🦋 Changeset detected

Latest commit: cfb8006

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@reactioncommerce/api-plugin-products Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Smriti Prakash added 2 commits October 15, 2022 11:43
Signed-off-by: Smriti Prakash <smriti3prakash7@gmail.com>
Signed-off-by: Smriti Prakash <smriti_prakash@intuit.com>
Signed-off-by: Smriti Prakash <smriti3prakash7@gmail.com>
Signed-off-by: Smriti Prakash <smriti_prakash@intuit.com>
@zenweasel zenweasel self-requested a review October 15, 2022 11:28
@zenweasel zenweasel merged commit da037cc into reactioncommerce:trunk Oct 16, 2022
This was referenced Oct 16, 2022
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.

Recursive createHandle call should be awaited
2 participants