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

Return promise in execute function #107

Open
mirkoperillo opened this issue Apr 6, 2020 · 0 comments
Open

Return promise in execute function #107

mirkoperillo opened this issue Apr 6, 2020 · 0 comments
Labels
refactor Maintain a healthy project

Comments

@mirkoperillo
Copy link
Owner

At the moment execute function in bookmark module uses callback to manage the response of the call.

Move to promise to have a easier code.

Ref to the code

const execute = (method, url, headers, querystring, bodyType, body, authentication, onResponse) => {

@mirkoperillo mirkoperillo added the refactor Maintain a healthy project label Apr 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor Maintain a healthy project
Projects
None yet
Development

No branches or pull requests

1 participant