Skip to content

Commit 1f8c19e

Browse files
committed
Fix example in readme.md to new parameter type
1 parent e906a02 commit 1f8c19e

File tree

1 file changed

+1
-1
lines changed
  • Libraries/src/Amazon.Lambda.Annotations

1 file changed

+1
-1
lines changed

Libraries/src/Amazon.Lambda.Annotations/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public class Functions
104104

105105

106106
[LambdaFunction]
107-
[HttpApi(HttpMethod.Put, HttpApiVersion.V2, "/process/{name}")]
107+
[HttpApi(LambdaHttpMethod.Put, "/process/{name}", Version = HttpApiVersion.V2)]
108108
public async Task Process([FromServices] ITracker tracker, string name, [FromBody] string data)
109109
{
110110
tracker.Record();

0 commit comments

Comments
 (0)