Island: Use `simplify=True` when converting configuration to dict

This commit is contained in:
Shreya Malviya 2022-08-31 00:51:27 +05:30
parent fa1620ebb9
commit d5ee4c7f27
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ class AgentConfiguration(AbstractResource):
# Used by the agent. Can't secure
def get(self):
configuration = self._agent_configuration_repository.get_configuration()
configuration_dict = configuration.dict()
configuration_dict = configuration.dict(simplify=True)
return make_response(configuration_dict, 200)
@jwt_required