Fixes none of the getcommands working...

should really unit test this stuff
This commit is contained in:
Rikki Tooley 2013-07-24 01:09:33 +01:00
parent 4e2b7b0235
commit 3eb12180a3

View File

@ -23,6 +23,8 @@ protected GetAsyncCommandBase(IAuth auth)
public async Task<T> ExecuteAsync() public async Task<T> ExecuteAsync()
{ {
Url = BuildRequestUrl();
var httpClient = new HttpClient(); var httpClient = new HttpClient();
var response = await httpClient.GetAsync(Url); var response = await httpClient.GetAsync(Url);
return await HandleResponse(response); return await HandleResponse(response);