Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
taj-p authored Sep 26, 2022
1 parent 365b0a6 commit fbe3df1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sentry/organization_integrations.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ type OrganizationIntegration struct {
Icon string `json:"icon"`
DomainName string `json:"domainName"`
AccountType string `json:"accountType"`
Scopes *[]string `json:"scopes"`
Scopes []string `json:"scopes"`
Status string `json:"status"`
Provider OrganizationIntegrationProvider `json:"provider"`

Expand Down
2 changes: 1 addition & 1 deletion sentry/organization_integrations_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func TestOrganizationIntegrationsService_List(t *testing.T) {
Icon: "https://avatars.githubusercontent.com/u/583231?v=4",
DomainName: "github.com/octocat",
AccountType: "Organization",
Scopes: &[]string{"read", "write"},
Scopes: []string{"read", "write"},
Status: "active",
Provider: OrganizationIntegrationProvider{
Key: "github",
Expand Down

0 comments on commit fbe3df1

Please sign in to comment.