From ccaa3f14c99c804f9f5f1516f24bb93746e25499 Mon Sep 17 00:00:00 2001 From: Maik Marschner Date: Mon, 15 Jul 2024 14:59:23 +0200 Subject: [PATCH] Fix response parsing. --- lib/Client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Client.js b/lib/Client.js index 335fbd2..13f9b57 100644 --- a/lib/Client.js +++ b/lib/Client.js @@ -224,7 +224,7 @@ module.exports = class Client { (err, res, data) => { if (err) reject(err); - const ebicsResponse = response.version(version)(data, keys); + const ebicsResponse = response.version(version)(data.toString('utf-8'), keys); if (this.tracesStorage) this.tracesStorage