Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
swhitty committed Jul 13, 2024
1 parent 5a3a5d5 commit 7f79e69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ enum Beast: String, HTTPRouteParameterValue {

handler.appendRoute("GET /creature/:name?type=:beast") { request in
let name = request.routeParameters["name"]
let beast: Beast = request.routeParameters["beast"]
let beast: Beast? = request.routeParameters["beast"]
return HTTPResponse(statusCode: .ok)
}
```
Expand Down

0 comments on commit 7f79e69

Please sign in to comment.