BB: Use put_json() to import configured credentials

This commit is contained in:
Mike Salvatore 2022-08-05 09:21:43 -04:00
parent ea369a5a74
commit 1568cf8f0a
1 changed files with 1 additions and 1 deletions

View File

@ -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,
) )