forked from p34709852/monkey
BB: Add `simplify=True` to Credentials serialization
This commit is contained in:
parent
8fd226cd23
commit
646b3a1b46
|
@ -61,7 +61,7 @@ class MonkeyIslandClient(object):
|
|||
@avoid_race_condition
|
||||
def _import_credentials(self, propagation_credentials: List[Credentials]):
|
||||
serialized_propagation_credentials = [
|
||||
credentials.dict() for credentials in propagation_credentials
|
||||
credentials.dict(simplify=True) for credentials in propagation_credentials
|
||||
]
|
||||
response = self.requests.put_json(
|
||||
"/api/propagation-credentials/configured-credentials",
|
||||
|
|
Loading…
Reference in New Issue