From 477bfd69a6fe378525e486f317322ca4ab4782f2 Mon Sep 17 00:00:00 2001 From: Gusted Date: Wed, 4 Aug 2021 03:20:41 +0200 Subject: plugins/{carddav,caldav}: remove unused conversion --- plugins/carddav/routes.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/carddav') diff --git a/plugins/carddav/routes.go b/plugins/carddav/routes.go index f8b51ef..fe7c37d 100644 --- a/plugins/carddav/routes.go +++ b/plugins/carddav/routes.go @@ -40,7 +40,7 @@ func parseObjectPath(s string) (string, error) { err = fmt.Errorf("failed to parse path: %v", err) return "", echo.NewHTTPError(http.StatusBadRequest, err) } - return string(p), nil + return p, nil } func registerRoutes(p *plugin) { -- cgit v1.2.3