From c11162fcb3e6c007e1f0667bf2f013bdab8aefae Mon Sep 17 00:00:00 2001 From: ben Date: Mon, 17 Aug 2026 17:52:01 +0200 Subject: [PATCH] update time filtering --- backend/main.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/backend/main.py b/backend/main.py index b4bfa8b..8c60bee 100644 --- a/backend/main.py +++ b/backend/main.py @@ -1,6 +1,6 @@ # GEEN SQL IN MAIN.PY, DIT IS DE API WRAPPER, HOU HET OVERZICHTELIJK!! -from fastapi import FastAPI, Depends, HTTPException +from fastapi import FastAPI, Depends, HTTPException, Query from fastapi.middleware.cors import CORSMiddleware from fastapi.responses import PlainTextResponse from pydantic import BaseModel @@ -602,6 +602,10 @@ def delete_room( return delete_room_db(room_id) +Aug 17 17:51:23 web14 uvicorn[15369]: NameError: name 'Query' is not defined +Aug 17 17:51:23 web14 systemd[1]: calendar-api.service: Main process exited, code=exited, status=1/FAILURE +Aug 17 17:51:23 web14 systemd[1]: calendar-api.service: Failed with result 'exit-code'. +ben@de-roo.org@web14:~/calendar$ # events