From 6467b82d84a5f284bc6c36715d2509b91f1bb95b Mon Sep 17 00:00:00 2001 From: Roman Date: Fri, 26 Jul 2024 14:11:28 +0200 Subject: [PATCH] add read key to response --- src/collective/feedback/restapi/services/get.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/collective/feedback/restapi/services/get.py b/src/collective/feedback/restapi/services/get.py index ab91d66..8c2e924 100644 --- a/src/collective/feedback/restapi/services/get.py +++ b/src/collective/feedback/restapi/services/get.py @@ -117,6 +117,7 @@ def get_single_object_feedbacks(self, uid): "comment": record._attrs.get("comment", ""), "title": commented_object.title, "id": record.intid, + "read": record._attrs.get("read", ""), } )