chore: issue comment PATCH changes (#3850)
This commit is contained in:
parent
e6f33eb262
commit
bc6e48fcd6
1 changed files with 2 additions and 2 deletions
|
|
@ -716,9 +716,9 @@ class IssueCommentAPIEndpoint(WebhookMixin, BaseAPIView):
|
||||||
|
|
||||||
# Validation check if the issue already exists
|
# Validation check if the issue already exists
|
||||||
if (
|
if (
|
||||||
str(request.data.get("external_id"))
|
request.data.get("external_id")
|
||||||
and (issue_comment.external_id != 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,
|
project_id=project_id,
|
||||||
workspace__slug=slug,
|
workspace__slug=slug,
|
||||||
external_source=request.data.get(
|
external_source=request.data.get(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue