Skip to content

Commit c584fbd

Browse files
authored
Fixed repositories the list deserializing the value to issues instead of repositories (#12)
1 parent 9c2fa4a commit c584fbd

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

bitbucket/repositories.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@ package bitbucket
22

33
import (
44
"fmt"
5-
"github.com/davidji99/simpleresty"
65
"time"
6+
7+
"github.com/davidji99/simpleresty"
78
)
89

910
// RepositoriesService handles communication with the repository related methods
@@ -16,7 +17,7 @@ type RepositoriesService service
1617
type Repositories struct {
1718
PaginationInfo
1819

19-
Values []*Issue `json:"values,omitempty"`
20+
Values []*Repository `json:"values,omitempty"`
2021
}
2122

2223
// Repository represents a Bitbucket repository.

0 commit comments

Comments
 (0)