fix(comment): return new comment after reply

This commit is contained in:
Innei
2021-11-11 22:07:53 +08:00
parent ba700b4c6b
commit 4dfdae632b

View File

@@ -195,7 +195,7 @@ export class CommentController {
this.commentService.sendEmail(comment, ReplyMailType.Owner)
this.gateway.broadcase(EventTypes.COMMENT_CREATE, comment)
}
return { message: '回复成功!' }
return comment
}
@Post('/master/comment/:id')