(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:
takezoe
2013-09-19 00:47:46 +09:00
parent 32672262ef
commit 7e4c29f4cf
3 changed files with 8 additions and 5 deletions

View File

@@ -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,