Skip to content

Commit

Permalink
Merge pull request #25 from RockefellerArchiveCenter/workflows
Browse files Browse the repository at this point in the history
Prep for workflows migration
  • Loading branch information
helrond authored Sep 11, 2024
2 parents 207f9a7 + 40b29b9 commit 6d9cc4d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions create_message.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def main(event=None, context=None):
"content": {
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"type": "AdaptiveCard",
"version": "1.5",
"version": "1.4",
"body": [
{
"type": "TextBlock",
Expand Down Expand Up @@ -112,8 +112,8 @@ def main(event=None, context=None):
]
}

encoded_msg = json.dumps(message).encode('utf-8')
requests.post(url, data=encoded_msg)
encoded_msg = json.dumps(message)
requests.post(url, headers={'Content-Type': 'application/json'}, data=encoded_msg)

update_aspace_previously_published(new_updates, s3_client)

Expand Down

0 comments on commit 6d9cc4d

Please sign in to comment.