Skip to content
This repository has been archived by the owner on Feb 20, 2024. It is now read-only.

Commit

Permalink
blank string should be replaced with default value
Browse files Browse the repository at this point in the history
  • Loading branch information
adonm committed Oct 26, 2022
1 parent 046e7e9 commit 1d0992d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions siem_query_utils/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -449,8 +449,8 @@ def __missing__(self, key):
customer = {}
# Grab wiki format for jira and truncate to 32767 chars
response.update({
"secops_status": customer.get("SecOps Status", default_status),
"jira_orgid": customer.get("JiraOrgId", default_orgid),
"secops_status": customer.get("SecOps Status") or default_status,
"jira_orgid": customer.get("JiraOrgId") or default_orgid,
"customer": customer,
"wikimarkup": atlaskit_client().post(f"/md/to/wiki", content=mdtext, headers={"content-type": "text/plain"}).content[:32760]
})
Expand Down

0 comments on commit 1d0992d

Please sign in to comment.