issue-695 Correct REST API Url used to validate credentials.
This commit is contained in:
Родитель
0585ae0e99
Коммит
16f59175f7
|
@ -26,7 +26,9 @@ namespace Atlassian.Bitbucket.Authentication.Rest
|
|||
Authorization = authorization,
|
||||
Timeout = TimeSpan.FromMilliseconds(requestTimeout),
|
||||
};
|
||||
var requestUri = targetUri.CreateWith(restRootUrl);
|
||||
|
||||
var apiUrl = new Uri(restRootUrl, UserUrl);
|
||||
var requestUri = targetUri.CreateWith(apiUrl);
|
||||
|
||||
using (var response = await Network.HttpGetAsync(requestUri, options))
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче