Merge branch 'feat/1.0.8/tag' into test

This commit is contained in:
aichy126 2023-04-04 17:21:34 +08:00
commit 6fd7ae14b7
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