CL-7765 Updated the pay-client code to handle the callback & un-promised rejections#33
CL-7765 Updated the pay-client code to handle the callback & un-promised rejections#33tusharpari wants to merge 5 commits intomasterfrom
Conversation
antigenius
left a comment
There was a problem hiding this comment.
Please add tests to cover the next callback functionality that's been added. Additionally, there don't appear to be any Travis CI steps in place. I would like you to confirm that all tests are passing once the above test has been added. Thank you.
src/PayClient.ts
Outdated
| : _.get(response, 'body'), | ||
| } | ||
| ) | ||
| } else { |
There was a problem hiding this comment.
You can remove this else and just have the return statement. Many style guides prefer this method.
|
@aakolkarclassy I've been trying to resolve the bug we discussed the other day as your latest commit will introduce errors later (the value of Tushar had said there was a need to supply a callback to the Unless someone knows why we need this, I'd like to decline this PR. |
all I know it was needed for classyql for the callback |
|
Please close in favor of https://github.com/classy-org/classyql/pull/435 |
Uh oh!
There was an error while loading. Please reload this page.