aws-samples / amazon-connect-whatsapp-chat

MIT No Attribution
14 stars 8 forks source link

Fixes for whatsapp #8

Open Ra100NZ opened 9 months ago

Ra100NZ commented 9 months ago

Description of changes: Healtcheck for Whatsapp was complaining about OpenSSL version. The same fix was applied for processConnectMessage already. It was missing in healtcheck. Attachments from Amazon Connect to Whatsapp were not working. Based on another py files (that call graph APIs), the Authorization header must contain "Bearer + token" (not only token).

The deployment was tested and integration with Whatsapp works correctly after these 2 changes.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.