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

feat: Remove unnecessary Promise use #65

Merged
merged 1 commit into from
Jul 13, 2019

Conversation

sanjeevyadavIT
Copy link
Collaborator

What does this implement/fix? Explain your changes.
description: currently the api call 3 nested Promise use into one another, in which one is completely unecessary,
there is no need of promise creation in admin/index.js, customer/index.js, guest/index.js
We can simply reuse promise return from magento/index.js in functions written in admin, guest and customer

Does this close any currently open issues?
#64

Any other comments?
This pull request requires complete Testing, to make sure all API are working properly.

Where has this been tested?

  • Magento Version: [e.g. 2.1.0]
  • Device: [Android Emulator]
  • OS: [PIE]
  • Version [API level 28]

description: currently the api call 3 nested Promise use into one another, in which one is completely unecessary,
there is no need of promise creation in admin/index.js, customer/index.js, guest/index.js
We can simply reuse promise return from magento/index.js in functions written in admin, guest and customer
@dimaportenko dimaportenko merged commit 46f147d into master Jul 13, 2019
@sanjeevyadavIT sanjeevyadavIT deleted the feature/remove-unnecessary-promises branch October 2, 2019 07:04
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.

None yet

2 participants