fix: use dashb_pending field name for upload approval
This commit is contained in:
+1
-1
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user