diff options
Diffstat (limited to 'plugins/carddav')
-rw-r--r-- | plugins/carddav/routes.go | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |