This commit is contained in:
Hamza-Ayed
2023-12-10 00:01:36 +03:00
parent db3123320b
commit ba90f96e77
24 changed files with 465 additions and 184 deletions

View File

@@ -70,11 +70,11 @@ class RegisterController extends GetxController {
void register() async {
if (formKey.currentState!.validate()) {
var res = await CRUD().post(link: AppLink.signUp, payload: {
'first_name': firstNameController.text,
'last_name': lastNameController.text,
'email': emailController.text,
'phone': phoneController.text,
'password': passwordController.text,
'first_name': firstNameController.text.toString(),
'last_name': lastNameController.text.toString(),
'email': emailController.text.toString(),
'phone': phoneController.text.toString(),
'password': passwordController.text.toString(),
'gender': gender,
'site': siteController.text,
'birthdate': birthDate,