diff --git a/app/routers/dashboard.py b/app/routers/dashboard.py index 1079378..4a17349 100644 --- a/app/routers/dashboard.py +++ b/app/routers/dashboard.py @@ -2256,6 +2256,7 @@ async def api_collection_table_data(collection_id: int): @router.post("/api/collections/{collection_id:int}/pages") async def api_create_collection_page(collection_id: int, request: Request): """Create a new page (row) in a collection.""" + import json as _json try: body = await request.json() except Exception: