Skip to content

Commit 76a62f0

Browse files
committed
hotfix for deploy_twitter function for hosted game in custom functions
1 parent dd6c614 commit 76a62f0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/game_sdk/hosted_game

src/game_sdk/hosted_game/sdk.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def deploy(self, goal: str, description: str, world_info: str, functions: list,
102102
"description": description,
103103
"worldInfo": world_info,
104104
"functions": functions,
105-
"customFunctions": custom_functions,
105+
"customFunctions": [x.toJson() for x in custom_functions],
106106
"gameState" : {
107107
"mainHeartbeat" : main_heartbeat,
108108
"reactionHeartbeat" : reaction_heartbeat,

0 commit comments

Comments
 (0)