Skip to content

Commit

Permalink
47degrees#751: fix parameter names
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoulaj committed Aug 31, 2022
1 parent 7b87802 commit 0e071b9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 0e071b9

Please sign in to comment.