make an auth request

This commit is contained in:
2026-07-31 13:18:13 -07:00
parent 848a747fba
commit 9b0dea64fc
2 changed files with 34 additions and 34 deletions
+2 -2
View File
@@ -61,13 +61,13 @@ func get_caldav_data(username string, password string) SimpleCalDavData {
body, err := io.ReadAll(resp.Body)
if err != nil {
log.Fatal(err)
fmt.Print(err.Error())
}
var davResp MultiStatus
err = xml.Unmarshal(body, &davResp)
if err != nil {
log.Fatal(err)
fmt.Print(err)
}
calandars := []Calandar{}