Skip to content

Commit

Permalink
Fixed async warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
disdain13 committed Jul 29, 2016
1 parent b61e357 commit 5752c50
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion PokemonGo.RocketAPI/Login/GoogleLoginGPSOAuth.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace PokemonGo.RocketAPI.Login
{
public static class GoogleLoginGPSOAuth
{
public static async Task<string> DoLogin(string username, string password)
public static string DoLogin(string username, string password)
{
GPSOAuthClient client = new GPSOAuthClient(username, password);
Dictionary<string, string> response = client.PerformMasterLogin();
Expand Down
2 changes: 1 addition & 1 deletion PokemonGo.RocketAPI/Rpc/Login.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public async Task DoGoogleLogin(string username,string password)
{
_client.AuthType = AuthType.Google;

_client.AuthToken = await GoogleLoginGPSOAuth.DoLogin(username, password);
_client.AuthToken = GoogleLoginGPSOAuth.DoLogin(username, password);
await SetServer();

/*
Expand Down

0 comments on commit 5752c50

Please sign in to comment.