feat: Removing accept header previews (#2515)

This commit is contained in:
Chris Simpson
2022-08-01 15:37:23 +01:00
committed by GitHub
parent 840935a8d7
commit 2f7bd00dd6
138 changed files with 954 additions and 1659 deletions

View File

@@ -72,7 +72,7 @@ namespace Octokit.Reactive
{
Ensure.ArgumentNotNull(options, nameof(options));
return _connection.GetAndFlattenAllPages<Installation>(ApiUrls.Installations(), null, AcceptHeaders.GitHubAppsPreview, options);
return _connection.GetAndFlattenAllPages<Installation>(ApiUrls.Installations(), null, options);
}
/// <summary>
@@ -102,7 +102,7 @@ namespace Octokit.Reactive
/// <remarks>https://developer.github.com/v3/apps/#list-installations-for-user</remarks>
public IObservable<InstallationsResponse> GetAllInstallationsForCurrentUser()
{
return _connection.GetAndFlattenAllPages<InstallationsResponse>(ApiUrls.UserInstallations(), null, AcceptHeaders.GitHubAppsPreview);
return _connection.GetAndFlattenAllPages<InstallationsResponse>(ApiUrls.UserInstallations());
}
/// <summary>
@@ -111,7 +111,7 @@ namespace Octokit.Reactive
/// <remarks>https://developer.github.com/v3/apps/#list-installations-for-user</remarks>
public IObservable<InstallationsResponse> GetAllInstallationsForCurrentUser(ApiOptions options)
{
return _connection.GetAndFlattenAllPages<InstallationsResponse>(ApiUrls.UserInstallations(), null, AcceptHeaders.GitHubAppsPreview, options);
return _connection.GetAndFlattenAllPages<InstallationsResponse>(ApiUrls.UserInstallations(), options);
}
/// <summary>