Skip to content

Commit

Permalink
Adds async await.
Browse files Browse the repository at this point in the history
  • Loading branch information
ENDAVA\mzorec committed Jul 15, 2023
1 parent aa9b629 commit 0d30e27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FlubuCore/Tasks/FlubuWebApi/GetTokenTask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ protected override async Task<string> DoExecuteAsync(ITaskContextInternal contex
client.Timeout = _timeout.Value;
}

var response = await client.ExecuteAsync(c => c.GetTokenAsync(new GetTokenRequest
var response = await client.ExecuteAsync(async c => await c.GetTokenAsync(new GetTokenRequest
{
Username = _username,
Password = _password
Expand Down

0 comments on commit 0d30e27

Please sign in to comment.