mirror of
https://github.com/chatwoot/chatwoot.git
synced 2026-06-28 21:01:02 +08:00
## Description Modified the phone number validation in Whatsapp::ChannelCreationService to check for duplicate phone numbers across ALL accounts, not just within the current account. ## Type of change - [ ] Bug fix (non-breaking change which fixes an issue) ## How Has This Been Tested? - Added test coverage for cross-account phone number validation - Using actual UI flow <img width="1493" height="532" alt="image" src="https://github.com/user-attachments/assets/67d2bb99-2eb9-4115-8d56-449e4785e0d8" /> ## Checklist: - [ ] My code follows the style guidelines of this project - [ ] I have performed a self-review of my code - [ ] I have commented on my code, particularly in hard-to-understand areas - [ ] I have made corresponding changes to the documentation - [ ] My changes generate no new warnings - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] New and existing unit tests pass locally with my changes - [ ] Any dependent changes have been merged and published in downstream modules |
||
|---|---|---|
| .. | ||
| providers | ||
| channel_creation_service_spec.rb | ||
| embedded_signup_service_spec.rb | ||
| facebook_api_client_spec.rb | ||
| incoming_message_service_spec.rb | ||
| incoming_message_whatsapp_cloud_service_spec.rb | ||
| oneoff_campaign_service_spec.rb | ||
| phone_info_service_spec.rb | ||
| populate_template_parameters_service_spec.rb | ||
| send_on_whatsapp_service_spec.rb | ||
| template_parameter_converter_service_spec.rb | ||
| token_exchange_service_spec.rb | ||
| token_validation_service_spec.rb | ||
| webhook_setup_service_spec.rb | ||
| webhook_teardown_service_spec.rb | ||