diff libervia/pages/lists/view_item/page_meta.py @ 1447:907f519faaf0

pages: pubsub's `extra` is now serialised, following backend change
author Goffi <goffi@goffi.org>
date Thu, 29 Jul 2021 23:01:29 +0200
parents a84383c659b4
children 595e7fef41f3
line wrap: on
line diff
--- a/libervia/pages/lists/view_item/page_meta.py	Thu Jul 29 22:59:08 2021 +0200
+++ b/libervia/pages/lists/view_item/page_meta.py	Thu Jul 29 23:01:29 2021 +0200
@@ -64,7 +64,8 @@
             template_data["comments_service"] = comments_service = uri_data["path"]
             try:
                 comments = data_format.deserialise(await self.host.bridgeCall(
-                    "mbGet", comments_service, comments_node, C.NO_LIMIT, [], {}, profile
+                    "mbGet", comments_service, comments_node, C.NO_LIMIT, [],
+                    data_format.serialise({}), profile
                 ))
             except BridgeException as e:
                 if e.classname == 'NotFound' or e.condition == 'item-not-found':