diff options
author | Simon Ser <contact@emersion.fr> | 2020-05-20 17:45:32 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2020-05-20 17:45:32 +0200 |
commit | cfea0ec787af85827fcea6aa38f45e11080c2898 (patch) | |
tree | 9bc10a5d6ad49552fb359d9a3b48f75f7bf85849 /plugins | |
parent | 83dd3f71d633f7642f5e95196f1823384c9ef141 (diff) | |
download | alps-cfea0ec787af85827fcea6aa38f45e11080c2898.tar.gz alps-cfea0ec787af85827fcea6aa38f45e11080c2898.zip |
plugins/caldav: fix duplicate event after edit
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/caldav/routes.go | 2 |
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) } |