From 2fa30ac9260c8c20bb0a84b1e88b3f725151e291 Mon Sep 17 00:00:00 2001 From: Roman Date: Thu, 25 Jul 2024 10:46:25 +0200 Subject: [PATCH] fix attr name --- src/collective/feedback/restapi/services/get.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/collective/feedback/restapi/services/get.py b/src/collective/feedback/restapi/services/get.py index a664e92..b0db8f1 100644 --- a/src/collective/feedback/restapi/services/get.py +++ b/src/collective/feedback/restapi/services/get.py @@ -135,7 +135,7 @@ def get_data(self): uid = feedback._attrs.get("uid", "") date = feedback._attrs.get("date", "") vote = feedback._attrs.get("vote", "") - id = feedback.id + id = feedback.intid if uid not in feedbacks: obj = self.get_commented_obj(uid=uid)