dev: fix issue comment changes

This commit is contained in:
pablohashescobar 2024-02-08 13:34:50 +05:30
parent 6949235688
commit 85a9098960

View File

@ -712,7 +712,7 @@ class IssueCommentAPIEndpoint(WebhookMixin, BaseAPIView):
if (
str(request.data.get("external_id"))
and (issue_comment.external_id != str(request.data.get("external_id")))
and Issue.objects.filter(
and IssueComment.objects.filter(
project_id=project_id,
workspace__slug=slug,
issue_id=issue_id,