Tony Tsang hace 10 años
padre
commit
91127d9016
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      models/action.go

+ 3 - 1
models/action.go

@@ -153,7 +153,9 @@ func updateIssuesCommit(userId, repoId int64, repoUserName, repoName string, com
 
 				if err = UpdateIssue(issue); err != nil {
 					return err
-				}
+				} else if err = UpdateIssueUserPairsByStatus(issue.Id, issue.IsClosed); err != nil {
+                    return err
+                }
 
 				if err = ChangeMilestoneIssueStats(issue); err != nil {
 					return err