diff --git a/examples/bankLetter.js b/examples/bankLetter.js index 3963e35..5ad99a4 100755 --- a/examples/bankLetter.js +++ b/examples/bankLetter.js @@ -10,7 +10,7 @@ const os = require('os'); const config = require('./loadConfig')(); const client = require('./getClient')(config); const bankName = client.bankName; -const template = fs.readFileSync("../templates/ini_"+client.languageCode+".hbs", { encoding: 'utf8'}); +const template = fs.readFileSync("./templates/ini_"+client.languageCode+".hbs", { encoding: 'utf8'}); const bankLetterFile = path.join("./", "bankLetter_"+client.bankShortName+"_"+client.languageCode+".html"); const letter = new ebics.BankLetter({ client, bankName, template });