Skip to content

Commit 077ab89

Browse files
use async api middleware
1 parent 01ad464 commit 077ab89

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

v1/dotnet-starter/services/Hello/Hello.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
using Application = Nitric.Sdk.Nitric;
1+
using Application = Nitric.Sdk.Nitric;
22

33
var api = Application.Api("main");
44

5-
api.Get("/hello/:name", context =>
5+
api.Get("/hello/:name", async context =>
66
{
77
var name = context.Req.PathParams["name"];
88

v1/dotnet-starter/services/Hello/Hello.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@
1313
</PropertyGroup>
1414

1515
<ItemGroup>
16-
<PackageReference Include="Nitric.Sdk" Version="1.0.0-a" />
16+
<PackageReference Include="Nitric.Sdk" Version="1.0.0" />
1717
</ItemGroup>
1818
</Project>

0 commit comments

Comments
 (0)