feat:#16 added room ics api route

This commit is contained in:
Elmar Kresse
2024-10-25 00:16:02 +02:00
parent 3d41d9d6a4
commit 42172fb0a5
13 changed files with 505 additions and 6 deletions

View File

@@ -48,7 +48,7 @@ func GetRoomSchedule(app *pocketbase.PocketBase, room string, from string, to st
room = functions.MapRoom(room, false)
}
roomSchedule, err := db.GetRoomSchedule(app, room, from, to)
roomSchedule, err := db.GetRoomScheduleInTimeSpan(app, room, from, to)
if err != nil {
return nil, err
}