Skip to content

Commit

Permalink
fix: Avoid validation error when inserting GC TSS documents by making…
Browse files Browse the repository at this point in the history
… the `theme` property optional
  • Loading branch information
lega0208 committed Aug 19, 2024
1 parent 956a517 commit a110010
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/db/src/lib/schemas/gc-tasks.schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export class GcTasks implements IGCTasks {
@Prop({ type: String, required: true })
department: string;

@Prop({ type: String, required: true })
@Prop({ type: String })
theme: string;

@Prop({ type: String })
Expand Down

0 comments on commit a110010

Please sign in to comment.