mirror of https://gitee.com/answerdev/answer.git
Merge branch 'fix/reason' into 'main'
Fix/reason See merge request opensource/answer!85
This commit is contained in:
commit
7db2dbd64f
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue