Skip to content

Commit 43b8e3a

Browse files
authored
[Functions] Fix broken code snippet reference
1 parent 220176b commit 43b8e3a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/azure-functions/openapi-apim-integrate-visual-studio.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ The function uses an HTTP trigger that takes two parameters:
6565

6666
The function then calculates how much a repair costs, and how much revenue the turbine could make in a 24-hour period. Parameters are supplied either in the query string or in the payload of a POST request.
6767

68-
In the Function1.cs project file, replace the contents of the generated class library code with the following code:
68+
In the Turbine.cs project file, replace the contents of the generated class library code with the following code:
6969

70-
:::code language="csharp" source="~/functions-openapi-turbine-repair/TurbineRepair/Function1.cs":::
70+
:::code language="csharp" source="~/functions-openapi-turbine-repair/TurbineRepair/Turbine.cs":::
7171

7272
This function code returns a message of `Yes` or `No` to indicate whether an emergency repair is cost-effective. It also returns the revenue opportunity that the turbine represents and the cost to fix the turbine.
7373

0 commit comments

Comments
 (0)