Skip to content

Commit

Permalink
fixed: следим за сменой статуса оригинальной задачи
Browse files Browse the repository at this point in the history
  • Loading branch information
gebv committed Feb 9, 2022
1 parent 266b435 commit 5adf4c1
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 @@ -308,7 +308,7 @@ func (s *mirrorTaskSyncer) applyChangesToMirrorTask(ctx context.Context, mirror
// TODO: description change

// status
if oldTask != nil && oldTask.StatusName != task.StatusName {
if oldTask != nil && origTask.StatusName != task.StatusName {
// TODO: изменился статус у задачи
fmt.Fprintf(commentText, "- changed task status name from %q to %q\n", origTask.StatusName, task.StatusName)
needToSendComment = true
Expand Down

0 comments on commit 5adf4c1

Please sign in to comment.