plugins/caldav: fix duplicate event after edit
This commit is contained in:
parent
83dd3f71d6
commit
cfea0ec787
1 changed files with 1 additions and 1 deletions
|
@ -165,7 +165,7 @@ func registerRoutes(p *alps.GoPlugin, u *url.URL) {
|
||||||
var co *caldav.CalendarObject
|
var co *caldav.CalendarObject
|
||||||
var event *ical.Event
|
var event *ical.Event
|
||||||
if calendarObjectPath != "" {
|
if calendarObjectPath != "" {
|
||||||
co, err := c.GetCalendarObject(calendarObjectPath)
|
co, err = c.GetCalendarObject(calendarObjectPath)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return fmt.Errorf("failed to get CalDAV event: %v", err)
|
return fmt.Errorf("failed to get CalDAV event: %v", err)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue