mirror of
https://github.com/node-ebics/node-ebics-client.git
synced 2024-11-24 07:02:08 +00:00
Fix bank letter script not working from the root directory like all other scripts.
This commit is contained in:
parent
412c0146db
commit
c1b87a9e32
@ -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 });
|
||||
|
Loading…
Reference in New Issue
Block a user