From 17831668afa14e0c393a6c9f0b18f70886717805 Mon Sep 17 00:00:00 2001 From: Inex Code Date: Wed, 3 Jul 2024 17:43:25 +0400 Subject: [PATCH] fix --- selfprivacy_api/graphql/common_types/service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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