@@ -179,36 +179,37 @@ type Client struct {
179179 common service // Reuse a single struct instead of allocating one for each service on the heap.
180180
181181 // Services used for talking to different parts of the GitHub API.
182- Actions * ActionsService
183- Activity * ActivityService
184- Admin * AdminService
185- Apps * AppsService
186- Authorizations * AuthorizationsService
187- Billing * BillingService
188- Checks * ChecksService
189- CodeScanning * CodeScanningService
190- Codespaces * CodespacesService
191- Dependabot * DependabotService
192- Enterprise * EnterpriseService
193- Gists * GistsService
194- Git * GitService
195- Gitignores * GitignoresService
196- Interactions * InteractionsService
197- IssueImport * IssueImportService
198- Issues * IssuesService
199- Licenses * LicensesService
200- Marketplace * MarketplaceService
201- Migrations * MigrationService
202- Organizations * OrganizationsService
203- Projects * ProjectsService
204- PullRequests * PullRequestsService
205- Reactions * ReactionsService
206- Repositories * RepositoriesService
207- SCIM * SCIMService
208- Search * SearchService
209- SecretScanning * SecretScanningService
210- Teams * TeamsService
211- Users * UsersService
182+ Actions * ActionsService
183+ Activity * ActivityService
184+ Admin * AdminService
185+ Apps * AppsService
186+ Authorizations * AuthorizationsService
187+ Billing * BillingService
188+ Checks * ChecksService
189+ CodeScanning * CodeScanningService
190+ Codespaces * CodespacesService
191+ Dependabot * DependabotService
192+ Enterprise * EnterpriseService
193+ Gists * GistsService
194+ Git * GitService
195+ Gitignores * GitignoresService
196+ Interactions * InteractionsService
197+ IssueImport * IssueImportService
198+ Issues * IssuesService
199+ Licenses * LicensesService
200+ Marketplace * MarketplaceService
201+ Migrations * MigrationService
202+ Organizations * OrganizationsService
203+ Projects * ProjectsService
204+ PullRequests * PullRequestsService
205+ Reactions * ReactionsService
206+ Repositories * RepositoriesService
207+ SCIM * SCIMService
208+ Search * SearchService
209+ SecretScanning * SecretScanningService
210+ SecurityAdvisories * SecurityAdvisoriesService
211+ Teams * TeamsService
212+ Users * UsersService
212213}
213214
214215type service struct {
@@ -346,6 +347,7 @@ func NewClient(httpClient *http.Client) *Client {
346347 c .SCIM = (* SCIMService )(& c .common )
347348 c .Search = (* SearchService )(& c .common )
348349 c .SecretScanning = (* SecretScanningService )(& c .common )
350+ c .SecurityAdvisories = (* SecurityAdvisoriesService )(& c .common )
349351 c .Teams = (* TeamsService )(& c .common )
350352 c .Users = (* UsersService )(& c .common )
351353 return c
0 commit comments