fix: Owner missing from convertRepo
This commit is contained in:
parent
e95732d479
commit
0c78013f38
|
@ -101,6 +101,7 @@ func convertRepo(repo *structs.Repository) *github.Repository {
|
||||||
return &github.Repository{
|
return &github.Repository{
|
||||||
ID: int64Ptr(repo.ID),
|
ID: int64Ptr(repo.ID),
|
||||||
Name: stringPtr(repo.Name),
|
Name: stringPtr(repo.Name),
|
||||||
|
Owner: convertUser(repo.Owner),
|
||||||
FullName: stringPtr(repo.FullName),
|
FullName: stringPtr(repo.FullName),
|
||||||
Description: stringPtr(repo.Description),
|
Description: stringPtr(repo.Description),
|
||||||
Homepage: stringPtr(repo.Website),
|
Homepage: stringPtr(repo.Website),
|
||||||
|
|
Loading…
Reference in New Issue