get the URL for pasring the dav data
This commit is contained in:
@@ -28,6 +28,7 @@ func init_dav_client() {
|
||||
|
||||
type Calandar struct {
|
||||
DisplayName string
|
||||
Link string
|
||||
}
|
||||
|
||||
type SimpleCalDavData struct {
|
||||
@@ -74,6 +75,7 @@ func get_caldav_data(username string, password string) SimpleCalDavData {
|
||||
|
||||
var new_cal Calandar = Calandar{
|
||||
DisplayName: davResp.Responses[i].PropStat[0].Prop.DisplayName,
|
||||
Link: serverConfig.URL + davResp.Responses[i].Href,
|
||||
}
|
||||
|
||||
calandars = append(calandars, new_cal)
|
||||
|
||||
Reference in New Issue
Block a user