mirror of https://gitee.com/answerdev/answer.git
fix(comment): update the wrong errors
This commit is contained in:
parent
a1c7a5d70a
commit
90b482cf61
|
@ -35,7 +35,7 @@ func (cs *CommentCommonService) GetComment(ctx context.Context, commentID string
|
|||
return
|
||||
}
|
||||
if !exist {
|
||||
return nil, errors.BadRequest(reason.UnknownError)
|
||||
return nil, errors.BadRequest(reason.CommentNotFound)
|
||||
}
|
||||
|
||||
resp = &schema.GetCommentResp{}
|
||||
|
|
Loading…
Reference in New Issue