1
This commit is contained in:
@@ -362,7 +362,7 @@ func (r *QuestionService) PutQuestion(questionId int64, req requests.PutQuestion
|
||||
return false, err
|
||||
}
|
||||
|
||||
if firstLabelId != *question.FirstLabelId {
|
||||
if &firstLabelId != question.FirstLabelId {
|
||||
labelDao := dao.LabelDao{}
|
||||
_, err = labelDao.GetLabelFirstById(firstLabelId)
|
||||
if err != nil {
|
||||
@@ -537,7 +537,7 @@ func (r *QuestionService) PutQuestionTest(questionId int64, req requests.PutQues
|
||||
return false, err
|
||||
}
|
||||
|
||||
if firstLabelId != *question.FirstLabelId {
|
||||
if &firstLabelId != question.FirstLabelId {
|
||||
labelDao := dao.LabelDao{}
|
||||
_, err = labelDao.GetLabelFirstById(firstLabelId)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user