-
Notifications
You must be signed in to change notification settings - Fork 121
fixed issue 308 #310
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
fixed issue 308 #310
Conversation
dist/resources/virtualAccounts.js
Outdated
| var data = { | ||
| status: 'closed' | ||
| }; | ||
| var data = {}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we need to make changes in the dist folder. It should be updated when the build is run
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dhwanilvyas i have an doubt , does it build automatically when user install this package from npmjs ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
@ankitdas13 Dist should be updating upon building the package
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sidag95 i have removed those changes
lib/resources/virtualAccounts.js
Outdated
| let data = { | ||
| status: 'closed' | ||
| } | ||
| let data = {} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suggestion: we can remove this variable itself if we're not sending any data in the request body?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i removed that data variable changes
sidag95
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Do we need to update any docs for this? I.e. SDK docs?
No we dont need to update any doc. |
issue : #308
API reference : https://razorpay.com/docs/api/payments/smart-collect/#close-a-virtual-account