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

Fix broken downloadBill #23

Merged
merged 4 commits into from
Aug 8, 2018
Merged

Conversation

lk9100
Copy link
Contributor

@lk9100 lk9100 commented Aug 3, 2018

No description provided.

lib/Payment.js Outdated
@@ -460,15 +462,15 @@ class Payment {
* digest: 'SHA=ec45d7c24492dcd62d92472b0f2816c8d9a2d773',
* }
*/
download(data, requestOptions) {
download(data, requestOptions, url = this.paymentUrls.DOWNLOAD_FUND_FLOW) {
Copy link
Owner

Choose a reason for hiding this comment

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

default parameter may break in node v4

@lk9100
Copy link
Contributor Author

lk9100 commented Aug 7, 2018

looks like lint-staged dropped support for node 4 long ago 🤦‍♂️
lint-staged/lint-staged#399

@JasonBoy
Copy link
Owner

JasonBoy commented Aug 7, 2018

@lk9100 yes, that also breaks the travis CI in node4, we may need a major version bump, the webpack 4 also drop the v4 support since I switched to webpack4 to bundle the client side js 😅

@JasonBoy JasonBoy merged commit 5a21158 into JasonBoy:master Aug 8, 2018
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.

2 participants