fixed ical time stamp

This commit is contained in:
masterelmar
2023-08-24 21:55:46 +02:00
parent 075bf3c899
commit 3286d9fa65
3 changed files with 18 additions and 16 deletions

View File

@@ -29,8 +29,8 @@ func FeedURL(c echo.Context, app *pocketbase.PocketBase) error {
func Feed(c echo.Context, app *pocketbase.PocketBase) error {
var result string
var responseWriter http.ResponseWriter
token := c.Request().Header.Get("token")
var responseWriter = c.Response().Writer
token := c.QueryParam("token")
log.Print("iCal feed Token: " + token)
feed, ok := cache[token]
if !ok || feed == nil {