From cfea0ec787af85827fcea6aa38f45e11080c2898 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Wed, 20 May 2020 17:45:32 +0200 Subject: plugins/caldav: fix duplicate event after edit --- plugins/caldav/routes.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') 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) } -- cgit v1.2.3