This commit is contained in:
2026-04-19 12:59:18 +02:00
parent c01876ad81
commit 7065cb3945
8 changed files with 347 additions and 25 deletions
+1
View File
@@ -165,6 +165,7 @@ func main() {
w.Header().Set("Content-Type", "application/json")
json.NewEncoder(w).Encode(results)
}).Methods("POST")
protected.HandleFunc("/calendar/import-booking", calendarHandler.ImportBookingCSV).Methods("POST")
protected.HandleFunc("/calendar/{id}", calendarHandler.UpdateEvent).Methods("PUT")
protected.HandleFunc("/calendar/{id}", calendarHandler.DeleteEvent).Methods("DELETE")