From 6787cce1d0410d8436205f7c224f8e8daab41eb9 Mon Sep 17 00:00:00 2001 From: Ilija Lazoroski Date: Thu, 14 Oct 2021 14:52:13 +0200 Subject: [PATCH] Zoo: Change API registration parameter --- .../monkey_zoo/blackbox/island_client/monkey_island_requests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/envs/monkey_zoo/blackbox/island_client/monkey_island_requests.py b/envs/monkey_zoo/blackbox/island_client/monkey_island_requests.py index f5ac59a1f..3f8efb227 100644 --- a/envs/monkey_zoo/blackbox/island_client/monkey_island_requests.py +++ b/envs/monkey_zoo/blackbox/island_client/monkey_island_requests.py @@ -75,7 +75,7 @@ class MonkeyIslandRequests(object): def try_set_island_to_credentials(self): resp = requests.post( # noqa: DUO123 self.addr + "api/registration", - json={"user": ISLAND_USERNAME, "password": ISLAND_PASSWORD}, + json={"username": ISLAND_USERNAME, "password": ISLAND_PASSWORD}, verify=False, ) if resp.status_code == 400: