forked from p15670423/monkey
BB: Use put_json() to import configured credentials
This commit is contained in:
parent
ea369a5a74
commit
1568cf8f0a
|
@ -55,7 +55,7 @@ class MonkeyIslandClient(object):
|
||||||
serialized_propagation_credentials = [
|
serialized_propagation_credentials = [
|
||||||
Credentials.to_mapping(credentials) for credentials in propagation_credentials
|
Credentials.to_mapping(credentials) for credentials in propagation_credentials
|
||||||
]
|
]
|
||||||
response = self.requests.post_json(
|
response = self.requests.put_json(
|
||||||
"/api/propagation-credentials/configured-credentials",
|
"/api/propagation-credentials/configured-credentials",
|
||||||
json=serialized_propagation_credentials,
|
json=serialized_propagation_credentials,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue