update delete answer and question

This commit is contained in:
aichy126 2022-11-04 17:10:20 +08:00
parent 8f38d2a0af
commit e0c53bea11
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}