fix: restore game_id and author in scene publish-local
This commit is contained in:
+1
-1
@@ -799,7 +799,7 @@ async def api_market_publish_local(data: dict):
|
|||||||
f"{url}/api/collections/scenes/records",
|
f"{url}/api/collections/scenes/records",
|
||||||
headers={"Authorization": f"Bearer {token}"},
|
headers={"Authorization": f"Bearer {token}"},
|
||||||
data={"name": scene.get("name",""), "description": scene.get("description",""),
|
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","")},
|
"dashb_pending": "true", "manifest_id": scene.get("id","")},
|
||||||
files={"file": (f"{dash_id}.tss", zip_data, "application/zip")},
|
files={"file": (f"{dash_id}.tss", zip_data, "application/zip")},
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user