Skip to content

Commit

Permalink
Merge pull request #41 from trungpd0911/feature/blog
Browse files Browse the repository at this point in the history
Feature/blog
  • Loading branch information
trungpd0911 authored Apr 22, 2024
2 parents 5be82dd + c596ebc commit 0518530
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/schemas/Post.schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ export class Post {
publicId: string;
}[];

@Prop({ required: true, type: Boolean })
thumbNailImage: string;
@Prop({ required: true, type: String })
thumbnailImage: string;
}

export const PostSchema = SchemaFactory.createForClass(Post);

0 comments on commit 0518530

Please sign in to comment.