Skip to content

Conversation

flovilmart
Copy link
Contributor

fixes #703

if (callbacks.error) {
callbacks.error(error);
}
return promise.reject(error);
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: Promise.reject()

Copy link
Contributor Author

Choose a reason for hiding this comment

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

that won't work as we're in a callback, promise is a new Parse.Promise()

@nlutsenko
Copy link
Contributor

LGTM, 2 nits.

@flovilmart flovilmart force-pushed the flovilmart.fixHttpRequest branch from 428d76a to 8eff444 Compare March 2, 2016 23:31
@facebook-github-bot
Copy link

@flovilmart updated the pull request.

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.

response object is undefined when calling Parse.Cloud.httpRequest with nonsense url
3 participants