Updated API struct name.
This commit is contained in:
@@ -116,7 +116,7 @@ func (b *API) handleHealthcheck(c echo.Context) error {
|
|||||||
return c.String(http.StatusOK, "OK")
|
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")
|
return c.Redirect(http.StatusMovedPermanently, "/swagger/index.html")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user