Skip to content

Commit

Permalink
Fix for wrong order of parameters to HttpClient.GetAsync (#1081)
Browse files Browse the repository at this point in the history
#748
#751

Co-authored-by: Jon Kjetil Øye <acn-joye@ai-dev.no>
  • Loading branch information
jonkjetiloye and Jon Kjetil Øye authored Sep 19, 2024
1 parent 85911c6 commit 2e5454d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public async Task<Party> GetParty(int partyId)
string token = JwtTokenUtil.GetTokenFromContext(_httpContextAccessor.HttpContext, _generalSettings.RuntimeCookieName);
string accessToken = _accessTokenGenerator.GenerateAccessToken("platform", "authorization");

HttpResponseMessage response = await _client.GetAsync(token, endpointUrl, accessToken);
HttpResponseMessage response = await _client.GetAsync(endpointUrl, token, accessToken);

if (response.StatusCode == HttpStatusCode.OK)
{
Expand Down

0 comments on commit 2e5454d

Please sign in to comment.