Skip to content

Commit

Permalink
fix: match interface param name
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewmorris43 committed Jan 17, 2025
1 parent e290db3 commit 8f9307b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ namespace Common;

public class CreateResponse : ICreateResponse
{
public HttpResponseData CreateHttpResponse(HttpStatusCode statusCode, HttpRequestData req, string responseBody = "")
public HttpResponseData CreateHttpResponse(HttpStatusCode statusCode, HttpRequestData httpRequestData, string responseBody = "")
{
var response = req.CreateResponse(statusCode);
var response = httpRequestData.CreateResponse(statusCode);
response.Headers.Add("Content-Type", "text/plain; charset=utf-8");
byte[] data = Encoding.UTF8.GetBytes(responseBody);

Expand Down

0 comments on commit 8f9307b

Please sign in to comment.