-
Andreas Ellewsen authored
Instead of manually putting together the phone number and hoping we get it right, we instead format the number using the phonenumbers library. This library is already in use for validation, making it the obvious choice. This means that the backend will only receive E.164 formatted phonenumbers from now on. In addition, we now ensure that the number is in fact a mobile phone number.
Andreas Ellewsen authoredInstead of manually putting together the phone number and hoping we get it right, we instead format the number using the phonenumbers library. This library is already in use for validation, making it the obvious choice. This means that the backend will only receive E.164 formatted phonenumbers from now on. In addition, we now ensure that the number is in fact a mobile phone number.
Loading
Analyzing file…
Loading