Skip to content

Commit

Permalink
Fixed repositories the list deserializing the value to issues instead…
Browse files Browse the repository at this point in the history
… of repositories (#12)
  • Loading branch information
jmartin84 committed Jun 29, 2020
1 parent 9c2fa4a commit c584fbd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions bitbucket/repositories.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ package bitbucket

import (
"fmt"
"github.com/davidji99/simpleresty"
"time"

"github.com/davidji99/simpleresty"
)

// RepositoriesService handles communication with the repository related methods
Expand All @@ -16,7 +17,7 @@ type RepositoriesService service
type Repositories struct {
PaginationInfo

Values []*Issue `json:"values,omitempty"`
Values []*Repository `json:"values,omitempty"`
}

// Repository represents a Bitbucket repository.
Expand Down

0 comments on commit c584fbd

Please sign in to comment.