mirror of https://gitee.com/answerdev/answer.git
update delete answer and question
This commit is contained in:
parent
8f38d2a0af
commit
e0c53bea11
|
@ -47,7 +47,7 @@ func (ac *AnswerController) RemoveAnswer(ctx *gin.Context) {
|
|||
return
|
||||
}
|
||||
|
||||
err := ac.answerService.RemoveAnswer(ctx, req.ID)
|
||||
err := ac.answerService.RemoveAnswer(ctx, req)
|
||||
handler.HandleResponse(ctx, err, nil)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue