mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-03 11:05:56 +00:00
Somebody take the keyboard away from me
This commit is contained in:
@@ -97,7 +97,7 @@ namespace Octokit
|
||||
|
||||
var endpoint = ApiUrls.Authorizations();
|
||||
|
||||
return ApiConnection.Put<ApplicationAuthorization>(endpoint, requestData);
|
||||
return ApiConnection.Post<ApplicationAuthorization>(endpoint, requestData);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -207,7 +207,8 @@ namespace Octokit
|
||||
uri,
|
||||
data,
|
||||
accepts,
|
||||
contentType).ConfigureAwait(false);
|
||||
contentType,
|
||||
twoFactorAuthenticationCode).ConfigureAwait(false);
|
||||
return response.Body;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user