Zoo: Change API registration parameter

This commit is contained in:
Ilija Lazoroski 2021-10-14 14:52:13 +02:00
parent 997ad1ee4b
commit 6787cce1d0
1 changed files with 1 additions and 1 deletions

View File

@ -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: