Closed hiteshghuge closed 2 months ago
The changes involve updates to the WhatsappBusinessServiceProviderBase
class in dialog360.py
, focusing on API key usage, simplified endpoint structures, and header construction. Additionally, the test cases in bsp_test.py
and events_test.py
have been modified to reflect the new API structure and dynamic URL construction, ensuring accurate testing of the updated functionality.
Files | Change Summary |
---|---|
kairon/shared/channels/whatsapp/bsp/dialog360.py |
Modified methods for template management to use a single API key, updated endpoint URLs, and changed the delete_template parameter from template_id to template_name . |
tests/unit_test/channels/bsp_test.py |
Updated test cases to reflect new API URLs and removed local variables partner_id and waba_account_id . |
tests/unit_test/events/events_test.py |
Changed URL construction in multiple test functions to use dynamic values from the Utility class, enhancing configurability. |
🐰 In a world of templates, oh so bright,
A key now shines, making things right.
With paths now clearer, we hop and play,
Goodbye old ways, hip-hip-hooray!
For every change, a reason to cheer,
A new dawn rises, the future is near! 🌼
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
New Features
Bug Fixes
Documentation