mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-05 21:15:49 +01:00
(refs #74)Remove an auxiliary constructor from case class because json4s can't serialize correctly if case class have that.
This commit is contained in:
@@ -119,7 +119,8 @@ class CommitLogHook(owner: String, repository: String, userName: String, baseURL
|
||||
println(getRepository(owner, repository, baseURL).get.url)
|
||||
|
||||
// call web hook
|
||||
val payload = new WebHookPayload(git,
|
||||
val payload = WebHookPayload(
|
||||
git,
|
||||
command.getRefName,
|
||||
getRepository(owner, repository, baseURL).get,
|
||||
newCommits,
|
||||
|
||||
Reference in New Issue
Block a user