fix(comment): return new comment after reply
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user