Skip to content

syntax in lib/snapBi/snapBi.js line 1, is fixed.#79

Open
sasakiRoo wants to merge 1 commit intoMidtrans:masterfrom
sasakiRoo:fix-syntax-error
Open

syntax in lib/snapBi/snapBi.js line 1, is fixed.#79
sasakiRoo wants to merge 1 commit intoMidtrans:masterfrom
sasakiRoo:fix-syntax-error

Conversation

@sasakiRoo
Copy link

-typo or mistyped in line 1 require import

this typo create an Error when running this midtrans API "Cannot find module SnapBiApiRequestor"
i already create an issue for this spesific case:
https://github.com/Midtrans/midtrans-nodejs-client/issues/77

before fix:
const SnapBiApiRequestor = require('./SnapBiApiRequestor');

after fix
const SnapBiApiRequestor = require('./snapBiApiRequestor');

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.

1 participant