Skip to content

Commit 9dccb19

Browse files
committed
minor bug fixes
1 parent 660fd4a commit 9dccb19

File tree

10 files changed

+51
-1424
lines changed

10 files changed

+51
-1424
lines changed

email-notification/models.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,10 @@ const postSchema = new Schema<IPost | IDraftPost>({
162162
enum: Object.values(Breed),
163163
},
164164
],
165-
otherBreedDescription: { type: String },
165+
otherBreedDescription: {
166+
type: String,
167+
required: false,
168+
},
166169
gender: {
167170
type: String,
168171
default: null,

email-notification/types.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ export interface IPost {
144144
type: FosterType;
145145
size: Size;
146146
breed: Breed[];
147-
otherBreedDescription: string;
147+
otherBreedDescription?: string;
148148
gender: Gender;
149149
age: Age;
150150
temperament: Temperament[];

0 commit comments

Comments
 (0)