fix: Remove fallback phone_number search in WhatsApp event processing (#6904)

This commit is contained in:
Pranav Raj S
2023-04-18 18:30:01 -07:00
committed by GitHub
parent 026e03c307
commit c5c36af529
3 changed files with 37 additions and 6 deletions

View File

@@ -2,7 +2,7 @@ FactoryBot.define do
factory :channel_whatsapp, class: 'Channel::Whatsapp' do
sequence(:phone_number) { |n| "+123456789#{n}1" }
account
provider_config { { 'api_key' => 'test_key' } }
provider_config { { 'api_key' => 'test_key', 'phone_number_id' => 'random_id' } }
message_templates do
[{ 'name' => 'sample_shipping_confirmation',
'status' => 'approved',