update del question

This commit is contained in:
aichy126 2023-03-09 16:41:03 +08:00
parent cac2ce03d6
commit e184986459
1 changed files with 1 additions and 1 deletions

View File

@ -375,7 +375,7 @@ func (qs *QuestionService) RemoveQuestion(ctx context.Context, req *schema.Remov
log.Errorf("user DeleteQuestion rank rollback error %s", err.Error())
}
activity_queue.AddActivity(&schema.ActivityMsg{
UserID: questionInfo.UserID,
UserID: req.UserID,
ObjectID: questionInfo.ID,
OriginalObjectID: questionInfo.ID,
ActivityTypeKey: constant.ActQuestionDeleted,