Skip to content

Commit

Permalink
fix(comment): model field doesn't match dto
Browse files Browse the repository at this point in the history
  • Loading branch information
wibus-wee committed Jul 30, 2022
1 parent e59bb1f commit 0184fb5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/modules/comment/comment.dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* @author: Innei
* @Date: 2022-07-03 17:48:49
* @LastEditors: Wibus
* @LastEditTime: 2022-07-03 21:35:07
* @LastEditTime: 2022-07-30 19:12:46
* Coding With IU
*/

Expand Down
4 changes: 2 additions & 2 deletions src/modules/comment/comment.model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* @author: Wibus
* @Date: 2022-07-03 17:49:03
* @LastEditors: Wibus
* @LastEditTime: 2022-07-15 18:15:26
* @LastEditTime: 2022-07-30 18:08:13
* Coding With IU
*/

Expand Down Expand Up @@ -64,7 +64,7 @@ export class CommentModel extends BaseModel {
author!: string;

@prop({ trim: true })
email!: string;
mail!: string;

@prop({
trim: true,
Expand Down

0 comments on commit 0184fb5

Please sign in to comment.