Skip to content

Commit

Permalink
fixed: comment addressee - do not send anything to orig task
Browse files Browse the repository at this point in the history
  • Loading branch information
gebv committed Jan 24, 2022
1 parent 7432188 commit 26cef26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clickup/sync_mirror_task.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ func (s *mirrorTaskSyncer) applyChangesToOriginalTask(ctx context.Context, mirro
}

if mirror.GetMirrorTask(ctx).IsDeletedOrHidden() {
s.sendComment(ctx, task.ID, "UNLINK MIRROR TASK: the mirror task has been DELETED or HIDDEN",
s.sendComment(ctx, mirror.MirrorTaskRef.ID, "UNLINK MIRROR TASK: the mirror task has been DELETED or HIDDEN",
spec.CondAdd.IfAssignedToMemberEmail)
s.destroyMirrorTask(ctx, mirror, "mirror task has been DELETED or HIDDEN")
return
Expand Down

0 comments on commit 26cef26

Please sign in to comment.