Fixing syntax error and linting.

This commit is contained in:
mike12345567 2023-04-03 15:36:34 +01:00
parent 2f57b3b16d
commit 29def1408a
1 changed files with 3 additions and 3 deletions

View File

@ -152,9 +152,9 @@ class RestIntegration implements IntegrationBase {
} }
raw = rawXml raw = rawXml
} else if (contentType.includes("application/pdf")) { } else if (contentType.includes("application/pdf")) {
data = await response.arrayBuffer(); // Save PDF as ArrayBuffer data = await response.arrayBuffer() // Save PDF as ArrayBuffer
raw = Buffer.from(data); raw = Buffer.from(data)
else { } else {
data = await response.text() data = await response.text()
raw = data raw = data
} }