From aa7402fe6b4a53a94de8408597c48127b1ac0b4c Mon Sep 17 00:00:00 2001 From: Patrick Connolly Date: Thu, 29 Nov 2018 03:44:37 +0800 Subject: [PATCH] Updated API struct name. --- bridge/api/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridge/api/api.go b/bridge/api/api.go index 1b8c0087..fda69f96 100644 --- a/bridge/api/api.go +++ b/bridge/api/api.go @@ -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") }