Merge pull request #95 from leMaik/fix/fix-response-parsing

Fix response parsing
This commit is contained in:
Dimitar Nanov 2024-07-25 12:06:59 +03:00 committed by GitHub
commit c1022e5ca8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -224,7 +224,7 @@ module.exports = class Client {
(err, res, data) => { (err, res, data) => {
if (err) reject(err); if (err) reject(err);
const ebicsResponse = response.version(version)(data, keys); const ebicsResponse = response.version(version)(data.toString('utf-8'), keys);
if (this.tracesStorage) if (this.tracesStorage)
this.tracesStorage this.tracesStorage