Skip to content

Commit 0c88fd4

Browse files
authored
[isIntegrationAvailable] Fixed an issue with raw-response (demisto#35787)
1 parent c4864f0 commit 0c88fd4

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
2+
#### Scripts
3+
4+
##### IsIntegrationAvailable
5+
6+
Fixed an issue where the script would return an error when the *raw-response* argument was provided.

Packs/CommonScripts/Scripts/IsIntegrationAvailable/IsIntegrationAvailable.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ function isIntegrationAvailable(brandName, allInstances) {
99

1010
return {
1111
'Type': entryTypes['note'],
12-
'ContentsFormat': formats['json'],
12+
'ContentsFormat': formats['text'],
1313
'Contents': readableOutput,
1414
'HumanReadable': readableOutput,
1515
'EntryContext': {'brandInstances': brandInstances}

Packs/CommonScripts/pack_metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "Common Scripts",
33
"description": "Frequently used scripts pack.",
44
"support": "xsoar",
5-
"currentVersion": "1.15.44",
5+
"currentVersion": "1.15.45",
66
"author": "Cortex XSOAR",
77
"url": "https://www.paloaltonetworks.com/cortex",
88
"email": "",

0 commit comments

Comments
 (0)