diff --git a/src/socket/socketclient.js b/src/socket/socketclient.js index 4b99cca..f8228e6 100644 --- a/src/socket/socketclient.js +++ b/src/socket/socketclient.js @@ -553,7 +553,7 @@ export class SocketClient { object: templateData.object, }, { - params: { type: "pdf" }, + params: { type: "pdf", padding: false }, responseType: "arraybuffer", headers: this.getApiHeaders(), }, @@ -578,7 +578,7 @@ export class SocketClient { width: templateData.width, }, { - params: { type }, + params: { type, padding: false }, responseType: "arraybuffer", headers: this.getApiHeaders(), },