mirror of
https://github.com/1f349/go-webdav.git
synced 2024-12-22 08:14:15 +00:00
caldav: use Calendar.Path in PROPFIND response
This commit is contained in:
parent
d8a8af0448
commit
8931e14cf6
@ -276,7 +276,7 @@ func (b *backend) propfindCalendar(propfind *internal.Propfind, cal *Calendar) (
|
|||||||
|
|
||||||
// TODO: CALDAV:calendar-timezone, CALDAV:supported-calendar-component-set, CALDAV:min-date-time, CALDAV:max-date-time, CALDAV:max-instances, CALDAV:max-attendees-per-instance
|
// TODO: CALDAV:calendar-timezone, CALDAV:supported-calendar-component-set, CALDAV:min-date-time, CALDAV:max-date-time, CALDAV:max-instances, CALDAV:max-attendees-per-instance
|
||||||
|
|
||||||
return internal.NewPropfindResponse("/", propfind, props)
|
return internal.NewPropfindResponse(cal.Path, propfind, props)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (b *backend) propfindCalendarObject(propfind *internal.Propfind, co *CalendarObject) (*internal.Response, error) {
|
func (b *backend) propfindCalendarObject(propfind *internal.Propfind, co *CalendarObject) (*internal.Response, error) {
|
||||||
|
Loading…
Reference in New Issue
Block a user