diff --git a/github4s/shared/src/main/scala/github4s/domain/SearchCode.scala b/github4s/shared/src/main/scala/github4s/domain/SearchCode.scala index f03012bf..5ad285a7 100644 --- a/github4s/shared/src/main/scala/github4s/domain/SearchCode.scala +++ b/github4s/shared/src/main/scala/github4s/domain/SearchCode.scala @@ -56,9 +56,9 @@ object SearchCodeParam { override def paramValue: String = name } - final case class Repository(user: String, repository: String) extends SearchCodeParam { + final case class Repository(owner: String, repo: String) extends SearchCodeParam { override def paramName: String = "repo" - override def paramValue: String = s"$user/$repository" + override def paramValue: String = s"$owner/$repo" } final case class Path(path: String) extends SearchCodeParam {