Island: Fix bug in credentials_parser.py

This commit is contained in:
vakaris_zilius 2022-09-02 11:59:46 +00:00
parent ed24108bfa
commit f1b8ad373b
1 changed files with 1 additions and 3 deletions

View File

@ -19,8 +19,6 @@ class CredentialsParser:
self._parse_credentials(telemetry_dict, _agent_configuration)
def _parse_credentials(self, telemetry_dict: Mapping, _agent_configuration):
credentials = [
Credentials.from_mapping(credential) for credential in telemetry_dict["data"]
]
credentials = [Credentials(**credential) for credential in telemetry_dict["data"]]
self._credentials_repository.save_stolen_credentials(credentials)