fix: restore game_id and author in scene publish-local

This commit is contained in:
2026-07-27 10:34:18 +08:00
parent 977ca89965
commit 5665c86eb3
+1 -1
View File
@@ -799,7 +799,7 @@ async def api_market_publish_local(data: dict):
f"{url}/api/collections/scenes/records",
headers={"Authorization": f"Bearer {token}"},
data={"name": scene.get("name",""), "description": scene.get("description",""),
"game_id": scene.get("game_id",""), "author": scene.get("author",""),
"game_id": scene.get("game_id",""), "author": scene.get("author","") or "Unknown",
"dashb_pending": "true", "manifest_id": scene.get("id","")},
files={"file": (f"{dash_id}.tss", zip_data, "application/zip")},
)