Skip to content

Commit

Permalink
Fix HttpReponse to HttpResponse (#365)
Browse files Browse the repository at this point in the history
  • Loading branch information
devlead authored Mar 26, 2021
1 parent 55ff89f commit 758423c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions samples/Extensions/MultiOutput/MultiOutput.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public static MyOutputType Run([HttpTrigger(AuthorizationLevel.Anonymous, "get")
return new MyOutputType()
{
Name = myQueueOutput,
HttpReponse = response
HttpResponse = response
};
}
}
Expand All @@ -38,7 +38,7 @@ public class MyOutputType
[QueueOutput("myQueue")]
public string Name { get; set; }

public HttpResponseData HttpReponse { get; set; }
public HttpResponseData HttpResponse { get; set; }
}
//</docsnippet_multiple_outputs>
}
4 changes: 2 additions & 2 deletions samples/FunctionApp/Function1/Function1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public static MyOutputType Run(
return new MyOutputType()
{
Book = bookVal,
HttpReponse = response
HttpResponse = response
};
}

Expand All @@ -36,7 +36,7 @@ public class MyOutputType
[QueueOutput("functionstesting2", Connection = "AzureWebJobsStorage")]
public Book Book { get; set; }

public HttpResponseData HttpReponse { get; set; }
public HttpResponseData HttpResponse { get; set; }
}

public class Book
Expand Down
4 changes: 2 additions & 2 deletions samples/FunctionApp/Function3/Function3.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public static MyOutputType Run([HttpTrigger(AuthorizationLevel.Anonymous, "get",
return new MyOutputType()
{
Name = "some name",
HttpReponse = response
HttpResponse = response
};
}
}
Expand All @@ -29,6 +29,6 @@ public class MyOutputType
[QueueOutput("functionstesting2", Connection = "AzureWebJobsStorage")]
public string Name { get; set; }

public HttpResponseData HttpReponse { get; set; }
public HttpResponseData HttpResponse { get; set; }
}
}
4 changes: 2 additions & 2 deletions test/SdkE2ETests/Contents/functions.metadata
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"connection": "AzureWebJobsStorage"
},
{
"name": "HttpReponse",
"name": "HttpResponse",
"type": "http",
"direction": "Out"
}
Expand Down Expand Up @@ -94,7 +94,7 @@
"connection": "AzureWebJobsStorage"
},
{
"name": "HttpReponse",
"name": "HttpResponse",
"type": "http",
"direction": "Out"
}
Expand Down

0 comments on commit 758423c

Please sign in to comment.