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(tag): Only if tag info is all same than without edit.
LinkinStar15777fccbcba
diff --git a/internal/service/tag_common/tag_common.go b/internal/service/tag_common/tag_common.goindex 6af946bb..d4531329 100644--- a/internal/service/tag_common/tag_common.go+++ b/internal/service/tag_common/tag_common.go@@ -661,7 +661,9 @@ func (ts *TagCommonService) UpdateTag(ctx context.Context, req *schema.UpdateTagreturn errors.BadRequest(reason.TagNotFound)}//If the content is the same, ignore it- if tagInfo.OriginalText == req.OriginalText {+ if tagInfo.OriginalText == req.OriginalText &&+ tagInfo.DisplayName == req.DisplayName &&+ tagInfo.SlugName == req.SlugName {return nil}