mirror of
https://github.com/usual2970/certimate.git
synced 2025-08-25 10:41:44 +00:00
refactor: clean code
This commit is contained in:
@@ -30,6 +30,6 @@ func (handler *statisticsHandler) get(c echo.Context) error {
|
||||
if statistics, err := handler.service.Get(c.Request().Context()); err != nil {
|
||||
return resp.Err(c, err)
|
||||
} else {
|
||||
return resp.Succ(c, statistics)
|
||||
return resp.Ok(c, statistics)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user