update time filtering
This commit is contained in:
+5
-1
@@ -1,6 +1,6 @@
|
|||||||
# GEEN SQL IN MAIN.PY, DIT IS DE API WRAPPER, HOU HET OVERZICHTELIJK!!
|
# 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.middleware.cors import CORSMiddleware
|
||||||
from fastapi.responses import PlainTextResponse
|
from fastapi.responses import PlainTextResponse
|
||||||
from pydantic import BaseModel
|
from pydantic import BaseModel
|
||||||
@@ -602,6 +602,10 @@ def delete_room(
|
|||||||
|
|
||||||
return delete_room_db(room_id)
|
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
|
# events
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user