Skip to content

Commit

Permalink
Merge pull request #5 from iyzico/master
Browse files Browse the repository at this point in the history
Master
  • Loading branch information
sotuzun committed Mar 25, 2016
2 parents 1b9b5d5 + 8828677 commit cd5b63c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Iyzipay.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function Iyzipay(config) {

Iyzipay.prototype._initResources = function () {
var _self = this;
var modelsPath = process.cwd() + '/lib/resources';
var modelsPath = __dirname + '/resources';
fs.readdirSync(modelsPath).forEach(function (fileName) {
if (~fileName.indexOf('.js')) {
var resource = require(modelsPath + '/' + fileName);
Expand Down

0 comments on commit cd5b63c

Please sign in to comment.