forked from p15670423/monkey
Zoo: Change API registration parameter
This commit is contained in:
parent
997ad1ee4b
commit
6787cce1d0
|
@ -75,7 +75,7 @@ class MonkeyIslandRequests(object):
|
||||||
def try_set_island_to_credentials(self):
|
def try_set_island_to_credentials(self):
|
||||||
resp = requests.post( # noqa: DUO123
|
resp = requests.post( # noqa: DUO123
|
||||||
self.addr + "api/registration",
|
self.addr + "api/registration",
|
||||||
json={"user": ISLAND_USERNAME, "password": ISLAND_PASSWORD},
|
json={"username": ISLAND_USERNAME, "password": ISLAND_PASSWORD},
|
||||||
verify=False,
|
verify=False,
|
||||||
)
|
)
|
||||||
if resp.status_code == 400:
|
if resp.status_code == 400:
|
||||||
|
|
Loading…
Reference in New Issue