mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-02-01 22:47:40 +00:00
fix(deps): update module github.com/labstack/echo/v4 to v5 (#2131)
Closes https://github.com/go-vikunja/vikunja/pull/2133 Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: kolaente <k@knt.li>
This commit is contained in:
@@ -27,7 +27,7 @@ import (
|
||||
"code.vikunja.io/api/pkg/user"
|
||||
|
||||
"github.com/ThreeDotsLabs/watermill/message"
|
||||
"github.com/labstack/echo/v4"
|
||||
"github.com/labstack/echo/v5"
|
||||
)
|
||||
|
||||
type ExamplePlugin struct{}
|
||||
@@ -58,7 +58,7 @@ func (p *ExamplePlugin) RegisterUnauthenticatedRoutes(g *echo.Group) {
|
||||
}
|
||||
|
||||
// Authenticated route handlers
|
||||
func handleUserInfo(c echo.Context) error {
|
||||
func handleUserInfo(c *echo.Context) error {
|
||||
|
||||
s := db.NewSession()
|
||||
defer s.Close()
|
||||
@@ -80,7 +80,7 @@ func handleUserInfo(c echo.Context) error {
|
||||
}
|
||||
|
||||
// Unauthenticated route handlers
|
||||
func handleStatus(c echo.Context) error {
|
||||
func handleStatus(c *echo.Context) error {
|
||||
|
||||
p := &ExamplePlugin{}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user