From 187a45473282c355c1bd650942369f46d3d0830f Mon Sep 17 00:00:00 2001 From: Anupama1912 Date: Mon, 22 Jul 2024 00:49:42 -0400 Subject: [PATCH] remove age from schema --- docs/src/swagger-output.json | 3 --- services/registration/src/models/application.ts | 4 ---- 2 files changed, 7 deletions(-) diff --git a/docs/src/swagger-output.json b/docs/src/swagger-output.json index dce141a8..9289332f 100644 --- a/docs/src/swagger-output.json +++ b/docs/src/swagger-output.json @@ -4670,9 +4670,6 @@ "dateOfBirth": { "type": "string" }, - "age": { - "type": "number" - }, "jobTitle": { "type": "string" }, diff --git a/services/registration/src/models/application.ts b/services/registration/src/models/application.ts index bb9c9e93..c5ec18f7 100644 --- a/services/registration/src/models/application.ts +++ b/services/registration/src/models/application.ts @@ -32,7 +32,6 @@ export interface Application extends mongoose.Document { applicationData: { adult?: boolean; dateOfBirth?: string; - age?: number; jobTitle?: string; company?: string; school?: string; @@ -122,9 +121,6 @@ const applicationSchema = new Schema( dateOfBirth: { type: String, }, - age: { - type: Number, - }, jobTitle: { type: String, },