Fixing syntax error and linting.
This commit is contained in:
parent
2f57b3b16d
commit
29def1408a
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue