From c20d66116e7139a87db61afe3a5ab0cd638550ab Mon Sep 17 00:00:00 2001 From: Yiyang He <62895281+y-he2@users.noreply.github.com> Date: Sun, 30 Apr 2023 20:09:21 +0200 Subject: [PATCH] updated legacy botName to name. --- example-bots/python/game/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example-bots/python/game/api.py b/example-bots/python/game/api.py index 67eb6c0ce..a5ee420d0 100644 --- a/example-bots/python/game/api.py +++ b/example-bots/python/game/api.py @@ -30,7 +30,7 @@ def bots_get(self, bot_token): return self._return_response_and_status(response) def bots_register(self, name, email, password, team): - response = self._req("/bots", "post", {"email": email, "botName": name, "password": password, "team": team}) + response = self._req("/bots", "post", {"email": email, "name": name, "password": password, "team": team}) return self._return_response_and_status(response) def boards_list(self):