BB: Add `simplify=True` to Credentials serialization

This commit is contained in:
Mike Salvatore 2022-09-06 15:22:03 -04:00 committed by vakaris_zilius
parent 8fd226cd23
commit 646b3a1b46
1 changed files with 1 additions and 1 deletions

View File

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