diff --git a/selfprivacy_api/graphql/common_types/service.py b/selfprivacy_api/graphql/common_types/service.py index 6411ebf..71ed69c 100644 --- a/selfprivacy_api/graphql/common_types/service.py +++ b/selfprivacy_api/graphql/common_types/service.py @@ -204,7 +204,7 @@ class Service: if not config_items: return None # By the "type" field convert every dict into a ConfigItem. In the future there will be more types. - return [config_item_to_graphql(item) for item in config_items] + return [config_item_to_graphql(config_items[item]) for item in config_items] # TODO: fill this @strawberry.field