Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions apps/api/plane/bgtasks/issue_activities_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,15 +365,15 @@ def track_assignees(
current_assignees = extract_ids(current_instance, "assignee_ids", "assignees")

added_assignees = requested_assignees - current_assignees
dropped_assginees = current_assignees - requested_assignees
dropped_assignees = current_assignees - requested_assignees

bulk_subscribers = []
for added_asignee in added_assignees:
for added_assignee in added_assignees:
# validate uuids
if not is_valid_uuid(added_asignee):
if not is_valid_uuid(added_assignee):
continue

assignee = User.objects.get(pk=added_asignee)
assignee = User.objects.get(pk=added_assignee)
issue_activities.append(
IssueActivity(
issue_id=issue_id,
Expand Down Expand Up @@ -403,7 +403,7 @@ def track_assignees(
# Create assignees subscribers to the issue and ignore if already
IssueSubscriber.objects.bulk_create(bulk_subscribers, batch_size=10, ignore_conflicts=True)

for dropped_assignee in dropped_assginees:
for dropped_assignee in dropped_assignees:
# validate uuids
if not is_valid_uuid(dropped_assignee):
continue
Expand Down
Loading