Jelajahi Sumber

Merge pull request #456 from compressed/send_hook_immediately

Deliver hooks immediately after commit
无闻 10 tahun lalu
induk
melakukan
18a80b291b
1 mengubah file dengan 2 tambahan dan 0 penghapusan
  1. 2 0
      models/action.go

+ 2 - 0
models/action.go

@@ -314,6 +314,8 @@ func CommitRepoAction(userId, repoUserId int64, userName, actEmail string,
 			}
 		}
 	}
+
+	go DeliverHooks()
 	return nil
 }