fixed bugs and small changes

This commit is contained in:
ben
2026-08-18 09:57:36 +02:00
parent 967e139e43
commit 1f835ba4e8
2 changed files with 1 additions and 28 deletions
+1 -6
View File
@@ -93,7 +93,7 @@ class EventUpdate(BaseModel):
min_people: int | None = None
type: str | None = None
visibility: str | None = None
status: str | None = None
status: Literal["draft", "proposed", "confirmed", "cancelled"] | None = None
class RoomCreate(BaseModel):
@@ -890,11 +890,6 @@ def api_event_responses(
}
@app.patch(
"/events/{event_id}",
summary="Update an event",
description="Updates an event. The event creator or a room admin can perform this action.",
)
@app.patch(
"/events/{event_id}",
summary="Update an event",