Skip to content

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

aichy126fd703ea50f6e
diff --git a/internal/service/question_service.go b/internal/service/question_service.go
index 8193eeaa..5c4b2f3f 100644
--- a/internal/service/question_service.go
+++ b/internal/service/question_service.go
@@ -572,6 +572,7 @@ func (qs *QuestionService) UpdateQuestion(ctx context.Context, req *schema.Quest
// It's not you or the administrator that needs to be reviewed
if !canUpdate {
revisionDTO.Status = entity.RevisionUnreviewedStatus
+ revisionDTO.UserID = req.UserID //use revision userid
} else {
//Direct modification
revisionDTO.Status = entity.RevisionReviewPassStatus