VTEX Wishlist addItem action is not returning the updated wishlist accordingly in some cases
Open
triage
- Dominant language
- TypeScript
- Stars
- 28
- Forks
- 30
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 4
Description
## Issue Type
Please inform the type(s) of issue(s) you are reporting:
- Bug Report
## Description
Please provide a clear and concise description of the issue or enhancement.
Include any relevant information that could help reproduce the issue or
understand the request.
## Expected Behavior
After calling the addItem action, it should return the updated wishlist with the user's products.
## Actual Behavior
It was returning an empty array in some cases.
## Additional Context
I found it weird that the action was calling the wishlist loader directly via importing the function instead of `ctx.invoke`
---
Thank you for taking the time to report this issue!
Contributor guide
Assessment
This issue has not been assessed yet.