Skip to content
This repository has been archived by the owner on Jun 2, 2020. It is now read-only.

Commit

Permalink
Merge pull request #80 from klarna/hpp_sessions_fix
Browse files Browse the repository at this point in the history
fixes API endpoint for HPP GET session
  • Loading branch information
amirrsyd authored Nov 5, 2019
2 parents cff96a7 + 24a7b1a commit dc13df5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public Task DistributeLinkToSession(string sessionId, HppModel.DistributionReque
/// <returns>A single <see cref="HppModel.SessionResponseV1"/> object</returns>
public async Task<HppModel.SessionResponseV1> GetSessionStatus(string sessionId)
{
var url = ApiUrlHelper.GetApiUrlForController(ApiSession.ApiUrl, ApiControllerUri, $"{sessionId}/status");
var url = ApiUrlHelper.GetApiUrlForController(ApiSession.ApiUrl, ApiControllerUri, $"{sessionId}");
return await Get<HppModel.SessionResponseV1>(url).ConfigureAwait(false);
}
}
Expand Down

0 comments on commit dc13df5

Please sign in to comment.