get the URL for pasring the dav data

This commit is contained in:
2026-07-27 22:06:16 -07:00
parent 2e5814e46d
commit 6574cc1111
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -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)