aboutsummaryrefslogtreecommitdiff
path: root/plugins/caldav
diff options
context:
space:
mode:
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 fe8a2b2..cb8aa2a 100644
--- a/plugins/caldav/routes.go
+++ b/plugins/caldav/routes.go
@@ -165,7 +165,7 @@ func registerRoutes(p *alps.GoPlugin, u *url.URL) {
var co *caldav.CalendarObject
var event *ical.Event
if calendarObjectPath != "" {
- co, err := c.GetCalendarObject(calendarObjectPath)
+ co, err = c.GetCalendarObject(calendarObjectPath)
if err != nil {
return fmt.Errorf("failed to get CalDAV event: %v", err)
}