Skip to content

Commit

Permalink
test json loads
Browse files Browse the repository at this point in the history
  • Loading branch information
SKairinos committed Dec 29, 2023
1 parent e66306f commit d17953f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/actions/python/send-email/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def get_settings():
A tuple with the values (region, auth, timeout).
"""

region = os.getenv("REGION", "")
region = json.loads(os.getenv("REGION", ""))
assert region != "", "Region path parameter not set."
raise Exception(region)

Expand Down
4 changes: 2 additions & 2 deletions .github/actions/python/send-email/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ runs:
TO_ADDRESSES: ${{ inputs.to-addresses }}
CC_ADDRESSES: ${{ inputs.cc-addresses }}
BCC_ADDRESSES: ${{ inputs.bcc-addresses }}
FROM_ADDRESS: ${{ inputs.from-address }}
FROM_ADDRESS: "${{ inputs.from-address }}"
CAMPAIGN_ID: ${{ inputs.campaign-id }}
PERSONALIZATION_VALUES: ${{ inputs.personalization-values }}
METADATA: ${{ inputs.metadata }}
METADATA: "${{ inputs.metadata }}"
ATTACHMENTS: ${{ inputs.attachments }}

0 comments on commit d17953f

Please sign in to comment.