mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-05 03:30:34 +00:00
fix bad rebase
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
@@ -29,7 +28,6 @@ namespace Octokit
|
||||
|
||||
var endpoint = ApiUrls.EnterpriseManagementConsoleMaintenance(managementConsolePassword, ApiConnection.Connection.BaseAddress);
|
||||
|
||||
endpoint = CorrectEndpointForManagementConsole(endpoint);
|
||||
return ApiConnection.Get<MaintenanceModeResponse>(endpoint);
|
||||
}
|
||||
|
||||
|
||||
@@ -51,10 +51,6 @@ namespace Octokit
|
||||
|
||||
var hasQueryString = uri.OriginalString.IndexOf("?", StringComparison.Ordinal);
|
||||
|
||||
string uriWithoutQuery = hasQueryString == -1
|
||||
? uri.ToString()
|
||||
: uri.OriginalString.Substring(0, hasQueryString);
|
||||
|
||||
string queryString;
|
||||
string uriWithoutQuery;
|
||||
if (uri.IsAbsoluteUri)
|
||||
|
||||
@@ -573,6 +573,7 @@ namespace Octokit
|
||||
return SendData<T>(uri, HttpMethod.Delete, data, accepts, null, CancellationToken.None);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Performs an asynchronous HTTP DELETE request that expects an empty response.
|
||||
/// </summary>
|
||||
/// <param name="uri">URI endpoint to send request to</param>
|
||||
|
||||
@@ -273,6 +273,7 @@ namespace Octokit
|
||||
/// <param name="accepts">Specifies accept response media type</param>
|
||||
Task<IApiResponse<T>> Delete<T>(Uri uri, object data, string accepts);
|
||||
|
||||
/// <summary>
|
||||
/// Performs an asynchronous HTTP DELETE request that returns a response.
|
||||
/// </summary>
|
||||
/// <param name="uri">URI endpoint to send request to</param>
|
||||
|
||||
Reference in New Issue
Block a user