Updated API struct name.

This commit is contained in:
Patrick Connolly
2018-11-29 03:44:37 +08:00
parent 1bcb57238a
commit aa7402fe6b

View File

@@ -116,7 +116,7 @@ func (b *API) handleHealthcheck(c echo.Context) error {
return c.String(http.StatusOK, "OK")
}
func (b *Api) handleDocsRedirect(c echo.Context) error {
func (b *API) handleDocsRedirect(c echo.Context) error {
return c.Redirect(http.StatusMovedPermanently, "/swagger/index.html")
}