diff --git a/cmd/insights/contributors.go b/cmd/insights/contributors.go index e9f2dd5..28c76a6 100644 --- a/cmd/insights/contributors.go +++ b/cmd/insights/contributors.go @@ -228,7 +228,7 @@ func findAllContributorsInsights(ctx context.Context, opts *contributorsOptions, waitGroup.Add(1) go func() { defer waitGroup.Done() - response, err := findNewRepositoryContributors(ctx, opts.APIClient, repo.Name, opts.Period) + response, err := findNewRepositoryContributors(ctx, opts.APIClient, repo.FullName, opts.Period) if err != nil { errorChan <- err return @@ -240,7 +240,7 @@ func findAllContributorsInsights(ctx context.Context, opts *contributorsOptions, waitGroup.Add(1) go func() { defer waitGroup.Done() - response, err := findRecentRepositoryContributors(ctx, opts.APIClient, repo.Name, opts.Period) + response, err := findRecentRepositoryContributors(ctx, opts.APIClient, repo.FullName, opts.Period) if err != nil { errorChan <- err return @@ -252,7 +252,7 @@ func findAllContributorsInsights(ctx context.Context, opts *contributorsOptions, waitGroup.Add(1) go func() { defer waitGroup.Done() - response, err := findAlumniRepositoryContributors(ctx, opts.APIClient, repo.Name, opts.Period) + response, err := findAlumniRepositoryContributors(ctx, opts.APIClient, repo.FullName, opts.Period) if err != nil { errorChan <- err return @@ -264,7 +264,7 @@ func findAllContributorsInsights(ctx context.Context, opts *contributorsOptions, waitGroup.Add(1) go func() { defer waitGroup.Done() - response, err := findRepeatRepositoryContributors(ctx, opts.APIClient, repo.Name, opts.Period) + response, err := findRepeatRepositoryContributors(ctx, opts.APIClient, repo.FullName, opts.Period) if err != nil { errorChan <- err return diff --git a/cmd/insights/repositories.go b/cmd/insights/repositories.go index cb03509..1b7987b 100644 --- a/cmd/insights/repositories.go +++ b/cmd/insights/repositories.go @@ -197,7 +197,7 @@ func findAllRepositoryInsights(ctx context.Context, opts *repositoriesOptions, r waitGroup.Add(1) go func() { defer waitGroup.Done() - response, err := getPullRequestInsights(ctx, opts.APIClient, repo.Name, opts.Period) + response, err := getPullRequestInsights(ctx, opts.APIClient, repo.FullName, opts.Period) if err != nil { errorChan <- err return