A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.
fix(comment): update the wrong errors
LinkinStars90b482cf613b
diff --git a/internal/service/comment_common/comment_service.go b/internal/service/comment_common/comment_service.goindex 19c2b90a..a7250a83 100644--- a/internal/service/comment_common/comment_service.go+++ b/internal/service/comment_common/comment_service.go@@ -35,7 +35,7 @@ func (cs *CommentCommonService) GetComment(ctx context.Context, commentID stringreturn}if !exist {- return nil, errors.BadRequest(reason.UnknownError)+ return nil, errors.BadRequest(reason.CommentNotFound)}resp = &schema.GetCommentResp{}