From e4d6c792e76985882fb49922ca499768d69c2a66 Mon Sep 17 00:00:00 2001 From: Roman Date: Thu, 25 Jul 2024 10:52:13 +0200 Subject: [PATCH] Fix --- src/collective/feedback/restapi/services/update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/collective/feedback/restapi/services/update.py b/src/collective/feedback/restapi/services/update.py index d6f3381..d55ea7c 100644 --- a/src/collective/feedback/restapi/services/update.py +++ b/src/collective/feedback/restapi/services/update.py @@ -35,7 +35,7 @@ def reply(self): comment = tool.get(id) if comment.get("error", "") == "NotFound": - raise NotFound(f"Object with id={id} not found") + raise NotFound() form_data = json_body(self.request)