From ea81e858487b8edcb8d281e29bad0edda3f269ff Mon Sep 17 00:00:00 2001 From: bruno Date: Wed, 22 Jul 2026 14:44:10 -0400 Subject: [PATCH] fix(database): add missing 'import json as _json' in api_create_collection_page --- app/routers/dashboard.py | 1 + 1 file changed, 1 insertion(+) 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: