From 0e071b992c94f1274ab37e44633d934063a8798c Mon Sep 17 00:00:00 2001 From: Julien Nicoulaud Date: Wed, 31 Aug 2022 20:39:27 +0200 Subject: [PATCH] #751: fix parameter names --- .../shared/src/main/scala/github4s/domain/SearchCode.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 {