aboutsummaryrefslogtreecommitdiff
path: root/plugins/caldav
diff options
context:
space:
mode:
authorGusted <williamzijl7@hotmail.com>2021-08-04 03:20:41 +0200
committerSimon Ser <contact@emersion.fr>2021-08-04 10:58:45 +0200
commit477bfd69a6fe378525e486f317322ca4ab4782f2 (patch)
tree62de3af2281235c403f3499b0ab936e9557ab14c /plugins/caldav
parent1d070b1a627486f47fb34f557f387ca8731d0b47 (diff)
downloadalps-477bfd69a6fe378525e486f317322ca4ab4782f2.tar.gz
alps-477bfd69a6fe378525e486f317322ca4ab4782f2.zip
plugins/{carddav,caldav}: remove unused conversion
Diffstat (limited to 'plugins/caldav')
-rw-r--r--plugins/caldav/routes.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/caldav/routes.go b/plugins/caldav/routes.go
index 1d052c3..f1baa1e 100644
--- a/plugins/caldav/routes.go
+++ b/plugins/caldav/routes.go
@@ -62,7 +62,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 parseTime(dateStr, timeStr string) (time.Time, error) {