Update: 2026-06-14 05:48:58

This commit is contained in:
Hamza-Ayed
2026-06-14 05:48:58 +03:00
parent 2645ed0cf1
commit 8e3b9eca4d
22 changed files with 789 additions and 179 deletions

View File

@@ -117,10 +117,11 @@ class PhoneAuthHelper {
String? email,
}) async {
try {
final fixedPhone = CountryLogic.formatCurrentCountryPhone(phoneNumber);
final response = await CRUD().post(
link: _registerUrl,
payload: {
'phone_number': phoneNumber,
'phone_number': fixedPhone,
'first_name': firstName,
'last_name': lastName,
'email': email ?? '', // Send empty string if null