Skip to content

Commit 7cec921

Browse files
[WEB-4628] chore: return 200 response for work item comment #7532
1 parent 8cc513b commit 7cec921

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/api/plane/api/views/issue.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1465,7 +1465,7 @@ def post(self, request, slug, project_id, issue_id):
14651465
# Send the model activity
14661466
model_activity.delay(
14671467
model_name="issue_comment",
1468-
model_id=str(serializer.data["id"]),
1468+
model_id=str(serializer.instance.id),
14691469
requested_data=request.data,
14701470
current_instance=None,
14711471
actor_id=request.user.id,

0 commit comments

Comments
 (0)