From 273bb8f7fb4567c6e2dbc600a2118d841bb98000 Mon Sep 17 00:00:00 2001 From: AskaEth Date: Sun, 26 Jul 2026 20:57:07 +0800 Subject: [PATCH] fix: use dashb_pending field name for upload approval --- server/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/api.py b/server/api.py index 43f5c18..1d44489 100644 --- a/server/api.py +++ b/server/api.py @@ -550,7 +550,7 @@ async def api_market_upload(file: UploadFile = File(...), name: str = "", catego resp = await client.post( f"{url}/api/collections/dashboards/records", headers={"Authorization": f"Bearer {token}"}, - data={"name": name, "category": category, "author": author, "version": "1.0.0", "status": "pending"}, + data={"name": name, "category": category, "author": author, "version": "1.0.0", "dashb_pending": true}, files=files_httpx, ) return resp.json()