Skip to content

Commit

Permalink
Update Legit Phone Number Length to 16
Browse files Browse the repository at this point in the history
Summary: Change the legit phone number length limit to allow 16 characters long.

Reviewed By: liliarizona

Differential Revision: D61604315

fbshipit-source-id: c6d85b8f842de5e37bbcb3ca978e26de3cff8040
  • Loading branch information
stcheng authored and facebook-github-bot committed Aug 21, 2024
1 parent 904443c commit 0c2167b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/facebook_ads/ad_objects/server_side/util.rb
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def self.normalize_phone(phone)
normalized_phone = normalized_phone.gsub(PHONE_NUMBER_DROP_PREFIX_ZEROS, '')
end

if normalized_phone.length < 7 || normalized_phone.length > 15
if normalized_phone.length < 7 || normalized_phone.length > 16
return nil;
end

Expand Down

0 comments on commit 0c2167b

Please sign in to comment.