We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
customerId
cartId
build
When using byCustomerId or byCartId in api-request-builder, the locally stored params are not cleared before the next call to build.
byCustomerId
byCartId
api-request-builder
The setDefaultParams function should reset the customerId and cartId params.
setDefaultParams
The customerId and cartId params are not cleared between calls to build.
This bug was discovered when attempting to build multiple queries, one after the other.
Will create a PR shortly.
The text was updated successfully, but these errors were encountered:
fix(api-request-builder): resetting customerId and cartId params
c4cd32f
Resolves: commercetools#1627
Successfully merging a pull request may close this issue.
Description
When using
byCustomerId
orbyCartId
inapi-request-builder
, the locally stored params are not cleared before the next call tobuild
.Expected Behavior
The
setDefaultParams
function should reset thecustomerId
andcartId
params.Current Behavior
The
customerId
andcartId
params are not cleared between calls tobuild
.Context
This bug was discovered when attempting to build multiple queries, one after the other.
Possible Solution
Will create a PR shortly.
The text was updated successfully, but these errors were encountered: