Skip to content

Commit

Permalink
Added the change
Browse files Browse the repository at this point in the history
  • Loading branch information
Aydan Pirani committed Jul 17, 2024
1 parent cd507cf commit ce1ba09
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/services/attendee/attendee-schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export const AttendeeValidator = z.object({
hasCheckedIn: z.boolean().default(false),
points: z.number().min(0).default(0),
foodWave: z.number().int().min(0).default(0),
hasResume: z.boolean(),
hasPriority: z
.object({
Mon: z.boolean().default(false),
Expand Down Expand Up @@ -44,6 +45,7 @@ export const AttendeeSchema = new Schema({
hasCheckedIn: { type: Boolean, default: false },
points: { type: Number, default: 0 },
foodWave: { type: Number, default: 0 },
hasResume: { type: Boolean, default: false },
hasPriority: {
type: new Schema(
{
Expand Down
2 changes: 1 addition & 1 deletion src/services/registration/registration-schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const RegistrationValidator = z.object({
jobInterest: z.array(z.string()).nullable().optional(),
isInterestedMechMania: z.boolean(),
isInterestedPuzzleBang: z.boolean(),
hasResume: z.boolean().optional(),
hasResume: z.boolean().default(false),
hasSubmitted: z.boolean().optional(),
});

Expand Down

0 comments on commit ce1ba09

Please sign in to comment.