1
This commit is contained in:
parent
06a0593d92
commit
989ae25809
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user