-
Notifications
You must be signed in to change notification settings - Fork 58
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
TYPO in lib/snapBi #77
Comments
thanks for the feedback, what version is this? ah I see, so there's a wrong capitalization ya? the |
Yes, it should be lowercase |
let snap = new midtransClient.Snap({ TypeError: midtransClient.Snap is not a constructor how to fix |
Coba kayak gini pas importnya. `let snap = new Midtrans.Snap({ })` |
NOTE: THE ISSUE OF UPPERCASE in SnapBiApiRequestor still is not fixed yet when i use netlify to test my app, it got error like the issue of number 76. I created a pull request about fixing the typo. I hope it will be approved. |
previously https://github.com/Midtrans/midtrans-nodejs-client/issues/76 , i encountered an issue that my node module cannot find "SnapBiApiRequestor".
so i checked it myslef, and found out that this code from folder lib/snapBi
const SnapBiApiRequestor = require('./SnapBiApiRequestor');
this code create problem CANNOT FIND MODULE and needs to be fixed, so that user dont need to fix it themselve.
expected code:
const SnapBiApiRequestor = require('./snapBiApiRequestor');
https://github.com/Midtrans/midtrans-nodejs-client/blob/master/lib/SnapBi/snapBi.js
The text was updated successfully, but these errors were encountered: