Skip to content

Commit

Permalink
fix prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
mxc-maggiechen committed Jun 14, 2024
1 parent da60109 commit 0589707
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions backend/models/courseunit.mgmodel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const PageSchema: Schema = new Schema({
type: {
type: String,
required: true,
enum: ["Lesson", "Activity"]
enum: ["Lesson", "Activity"],
},
layout: {
type: [ElementSkeletonSchema],
Expand Down Expand Up @@ -105,4 +105,3 @@ const CourseUnitSchema: Schema = new Schema({
});

export default mongoose.model<CourseUnit>("CourseUnit", CourseUnitSchema);

2 changes: 1 addition & 1 deletion backend/types/courseTypes.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export type PageType = "Lesson" | "Activity";
export type PageType = "Lesson" | "Activity";

0 comments on commit 0589707

Please sign in to comment.