fix: dashb_pending boolean as string for form data
This commit is contained in:
+1
-1
@@ -586,7 +586,7 @@ async def api_market_upload(file: UploadFile = File(...), name: str = "", catego
|
|||||||
data={
|
data={
|
||||||
"name": actual_name, "category": actual_category, "author": actual_author,
|
"name": actual_name, "category": actual_category, "author": actual_author,
|
||||||
"version": actual_version, "supported_games": supported,
|
"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)},
|
files={"file": (file.filename, zip_data, file.content_type)},
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user