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)