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

Fixed: code to get 'eComStores' in 'getProfile' action instead of calling 'getEcomStores' action (#257v6ck) #200

Merged
merged 5 commits into from
Aug 23, 2022

Conversation

rathoreprashant
Copy link
Contributor

Related Issues

Closes #

Short Description and Why It's Useful

:- Worked on reverting the getEcomStores action and fetching all stores in getProfile action.

Screenshots of Visual Changes before/after (If There Are Any)

IMPORTANT NOTICE - Remember to add changelog entry

Contribution and Currently Important Rules Acceptance

@@ -63,15 +63,18 @@ const actions: ActionTree<UserState, RootState> = {
"noConditionFind": "Y"
}

await dispatch('getEComStores', payload).then((stores: any) => {
let stores = await UserService.getEComStores(payload);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
let stores = await UserService.getEComStores(payload);
let storeResp = await UserService.getEComStores(payload);

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Improved sir

@adityasharma7 adityasharma7 merged commit 13ae0a6 into hotwax:main Aug 23, 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.

3 participants