mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-25 21:41:27 +00:00
fix
This commit is contained in:
parent
2262606759
commit
17831668af
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue