mirror of https://gitee.com/answerdev/answer.git
Merge branch 'feat/1.0.8/tag' into test
This commit is contained in:
commit
6fd7ae14b7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue