Skip to content
Snippets Groups Projects
Commit 7841dffb authored by salazard's avatar salazard
Browse files

modify date of birth field

parent 8b2a35ea
No related branches found
No related tags found
1 merge request!80New signup
...@@ -6,7 +6,7 @@ class RegistrationSchema { ...@@ -6,7 +6,7 @@ class RegistrationSchema {
firstName: string; firstName: string;
lastName: string; lastName: string;
phoneNumber: string; phoneNumber: string;
dateOfBirth : string; dateOfBirth : Date;
} }
export class Registration extends RegistrationSchema { export class Registration extends RegistrationSchema {
...@@ -30,7 +30,7 @@ export class RegistrationAdapter { ...@@ -30,7 +30,7 @@ export class RegistrationAdapter {
first_name: obj.firstName, first_name: obj.firstName,
last_name: obj.lastName, last_name: obj.lastName,
phone_number: obj.phoneNumber, phone_number: obj.phoneNumber,
date_of_birth : obj.dateOfBirth, dateOfBirth : obj.dateOfBirth,
} }
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment