Merge branch 'fix/reason' into 'main'

Fix/reason

See merge request opensource/answer!85
This commit is contained in:
linkinstar 2022-10-19 08:24:30 +00:00
commit 7db2dbd64f
1 changed files with 0 additions and 3 deletions

View File

@ -35,8 +35,5 @@ func (rc *ReasonController) Reasons(ctx *gin.Context) {
return return
} }
reasons, err := rc.reasonService.GetReasons(ctx, *req) reasons, err := rc.reasonService.GetReasons(ctx, *req)
if err != nil {
err = nil
}
handler.HandleResponse(ctx, err, reasons) handler.HandleResponse(ctx, err, reasons)
} }