mirror of https://gitee.com/answerdev/answer.git
fix
This commit is contained in:
parent
2536703f32
commit
fd703ea50f
|
@ -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