mirror of
https://github.com/1f349/go-webdav.git
synced 2024-12-22 16:24:14 +00:00
Return calendar description in PROPFIND
This commit is contained in:
parent
6887b6b812
commit
cdb0de3b99
@ -297,6 +297,9 @@ func (b *backend) propfindCalendar(ctx context.Context, propfind *internal.Propf
|
|||||||
internal.DisplayNameName: func(*internal.RawXMLValue) (interface{}, error) {
|
internal.DisplayNameName: func(*internal.RawXMLValue) (interface{}, error) {
|
||||||
return &internal.DisplayName{Name: cal.Name}, nil
|
return &internal.DisplayName{Name: cal.Name}, nil
|
||||||
},
|
},
|
||||||
|
calendarDescriptionName: func(*internal.RawXMLValue) (interface{}, error) {
|
||||||
|
return &calendarDescription{Description: cal.Description}, nil
|
||||||
|
},
|
||||||
supportedCalendarDataName: func(*internal.RawXMLValue) (interface{}, error) {
|
supportedCalendarDataName: func(*internal.RawXMLValue) (interface{}, error) {
|
||||||
return &supportedCalendarData{
|
return &supportedCalendarData{
|
||||||
Types: []calendarDataType{
|
Types: []calendarDataType{
|
||||||
|
Loading…
Reference in New Issue
Block a user