Revert "Add page to check for room availability "

This commit is contained in:
masterElmar
2023-11-01 17:44:42 +01:00
committed by GitHub
parent f1229fad27
commit 59a02f72e8
32 changed files with 82 additions and 1541 deletions

View File

@@ -16,8 +16,3 @@ func GetRoomScheduleForDay(c echo.Context, app *pocketbase.PocketBase, room stri
events := db.GetRoomScheduleForDay(app, room, date)
return c.JSON(http.StatusOK, events)
}
func GetRoomSchedule(c echo.Context, app *pocketbase.PocketBase, room string, from string, to string) error {
events := db.GetRoomSchedule(app, room, from, to)
return c.JSON(http.StatusOK, events)
}