Skip to content

Commit

Permalink
fix(post): post model set summary to string
Browse files Browse the repository at this point in the history
  • Loading branch information
wibus-wee committed Jul 15, 2022
1 parent ab8e9b3 commit 58fa5d1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/modules/post/post.model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ export class PostModel extends WriteBaseModel {

@prop({ trim: true, required: true })
@IsString()
@IsBoolean()
@ApiProperty({ description: "文章摘要" })
summary?: string;

Expand Down

0 comments on commit 58fa5d1

Please sign in to comment.