This commit is contained in:
aichy126 2023-04-04 17:20:41 +08:00
parent 2536703f32
commit fd703ea50f
1 changed files with 1 additions and 0 deletions

View File

@ -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