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 question recommend tag
aichy126c5eecd33c359
diff --git a/internal/service/question_service.go b/internal/service/question_service.goindex 7dd3ad9f..a6523864 100644--- a/internal/service/question_service.go+++ b/internal/service/question_service.go@@ -125,12 +125,6 @@ func (qs *QuestionService) AddQuestion(ctx context.Context, req *schema.Questionif err != nil {return}- if !recommendExist {- err = fmt.Errorf("recommend is not exist")- err = errors.BadRequest(reason.RecommendTagNotExist).WithError(err).WithStack()- return- }-if !recommendExist {errorlist := make([]*validator.FormErrorField, 0)errorlist = append(errorlist, &validator.FormErrorField{