diff --git a/src/plone/restapi/services/site/get.py b/src/plone/restapi/services/site/get.py index f2fe3cdc8c..eb3b2e6ffe 100644 --- a/src/plone/restapi/services/site/get.py +++ b/src/plone/restapi/services/site/get.py @@ -47,18 +47,14 @@ def __call__(self, expand=False): image_settings = registry.forInterface( IImagingSchema, prefix="plone", check=False ) - result["site"].update( - { + result["site"].update({ "plone.allowed_sizes": image_settings.allowed_sizes, - } - ) + }) - result["site"].update( - { + result["site"].update({ "plone.site_title": portal_state.portal_title(), "plone.allowed_sizes": image_settings.allowed_sizes, - } - ) + }) return result