Skip to content

Commit 6079b3e

Browse files
committed
Change variable name to owner for getRepositories
1 parent a73dcdb commit 6079b3e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/scala/com/codacy/client/bitbucket/v2/service/RepositoryServices.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ class RepositoryServices(client: BitbucketClient) {
1010
* Gets the list of the user's repositories. Private repositories only appear on this list
1111
* if the caller is authenticated and is authorized to view the repository.
1212
*/
13-
def getRepositories(username: String): RequestResponse[Seq[Repository]] = {
14-
client.executePaginated(Request(s"https://bitbucket.org/api/2.0/repositories/$username", classOf[Seq[Repository]]))
13+
def getRepositories(owner: String): RequestResponse[Seq[Repository]] = {
14+
client.executePaginated(Request(s"https://bitbucket.org/api/2.0/repositories/$owner", classOf[Seq[Repository]]))
1515
}
1616

1717
def createKey(

0 commit comments

Comments
 (0)