Skip to content

Commit eec042b

Browse files
authored
Update return type of ListPublic() (#131)
1 parent aa0db3e commit eec042b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

repositories.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ func (r *Repositories) ListForTeam(ro *RepositoriesOptions) (*RepositoriesRes, e
5353
return decodeRepositorys(repos)
5454
}
5555

56-
func (r *Repositories) ListPublic() (interface{}, error) {
56+
func (r *Repositories) ListPublic() (*RepositoriesRes, error) {
5757
urlStr := r.c.requestUrl("/repositories/")
5858
repos, err := r.c.execute("GET", urlStr, "")
5959
if err != nil {

0 commit comments

Comments
 (0)