fix: dashb_pending boolean as string for form data

This commit is contained in:
2026-07-26 21:54:42 +08:00
parent b9359b3b47
commit b434be2fd1
+1 -1
View File
@@ -586,7 +586,7 @@ async def api_market_upload(file: UploadFile = File(...), name: str = "", catego
data={
"name": actual_name, "category": actual_category, "author": actual_author,
"version": actual_version, "supported_games": supported,
"icon": icon, "description": desc, "dashb_pending": True,
"icon": icon, "description": desc, "dashb_pending": "true",
},
files={"file": (file.filename, zip_data, file.content_type)},
)