1
0
Fork 0
mirror of synced 2024-10-03 19:43:32 +13:00

Fixing syntax error and linting.

This commit is contained in:
mike12345567 2023-04-03 15:36:34 +01:00
parent 2f57b3b16d
commit 29def1408a

View file

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