Skip to content

Commit

Permalink
fix: project sweeper uses get organization projects endpoint
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
jianyuan committed May 5, 2024
1 parent 5515d24 commit b187a07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/provider/resource_project_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ func init() {
F: func(r string) error {
ctx := context.Background()

listParams := &sentry.ListProjectsParams{}
listParams := &sentry.ListOrganizationProjectsParams{}

for {
projects, resp, err := acctest.SharedClient.Projects.List(ctx, listParams)
projects, resp, err := acctest.SharedClient.OrganizationProjects.List(ctx, acctest.TestOrganization, listParams)
if err != nil {
return err
}
Expand Down

0 comments on commit b187a07

Please sign in to comment.