Skip to content

Commit

Permalink
fix: add support for default_rules to create project (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
merrington authored Nov 30, 2023
1 parent 861f4c0 commit adc51b1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions sentry/projects.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,10 @@ func (s *ProjectsService) Get(ctx context.Context, organizationSlug string, slug

// CreateProjectParams are the parameters for ProjectService.Create.
type CreateProjectParams struct {
Name string `json:"name,omitempty"`
Slug string `json:"slug,omitempty"`
Platform string `json:"platform,omitempty"`
Name string `json:"name,omitempty"`
Slug string `json:"slug,omitempty"`
Platform string `json:"platform,omitempty"`
DefaultRules *bool `json:"default_rules,omitempty"`
}

// Create a new project bound to a team.
Expand Down

0 comments on commit adc51b1

Please sign in to comment.