From 2957de9c24c89a03a626fa0022ee241f311664e5 Mon Sep 17 00:00:00 2001 From: Moshe Immermam Date: Sun, 18 Aug 2024 22:54:22 +0300 Subject: [PATCH] chore: test fixes --- echo/debug.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/echo/debug.go b/echo/debug.go index e55cb02e..9845ed03 100644 --- a/echo/debug.go +++ b/echo/debug.go @@ -63,8 +63,7 @@ func AddDebugHandlers(e *echo.Echo, rbac echo.MiddlewareFunc) { debug := e.Group("/debug/", rbac) debug.GET("/debug/loggers", func(c echo.Context) error { - c.JSON(200, logger.GetNamedLoggingLevels()) - return nil + return c.JSON(200, logger.GetNamedLoggingLevels()) }) debug.POST("/debug/loggers", func(c echo.Context) error {