The ApiCommit should be export url and html values in json.

This commit is contained in:
nazoking
2015-10-01 23:04:35 +09:00
parent bb9add9da9
commit d566f64e8b

View File

@@ -20,7 +20,7 @@ case class ApiCommit(
removed: List[String],
modified: List[String],
author: ApiPersonIdent,
committer: ApiPersonIdent)(repositoryName:RepositoryName){
committer: ApiPersonIdent)(repositoryName:RepositoryName) extends FieldSerializable{
val url = ApiPath(s"/api/v3/${repositoryName.fullName}/commits/${id}")
val html_url = ApiPath(s"/${repositoryName.fullName}/commit/${id}")
}