Skip to content

Commit

Permalink
remove age from schema
Browse files Browse the repository at this point in the history
  • Loading branch information
Anupama1912 committed Jul 22, 2024
1 parent 534f6b9 commit 187a454
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
3 changes: 0 additions & 3 deletions docs/src/swagger-output.json
Original file line number Diff line number Diff line change
Expand Up @@ -4670,9 +4670,6 @@
"dateOfBirth": {
"type": "string"
},
"age": {
"type": "number"
},
"jobTitle": {
"type": "string"
},
Expand Down
4 changes: 0 additions & 4 deletions services/registration/src/models/application.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ export interface Application extends mongoose.Document {
applicationData: {
adult?: boolean;
dateOfBirth?: string;
age?: number;
jobTitle?: string;
company?: string;
school?: string;
Expand Down Expand Up @@ -122,9 +121,6 @@ const applicationSchema = new Schema<Application>(
dateOfBirth: {
type: String,
},
age: {
type: Number,
},
jobTitle: {
type: String,
},
Expand Down

0 comments on commit 187a454

Please sign in to comment.