Skip to content

Commit cdf7245

Browse files
authored
Update add-an-api-to-create-a-note.md (#772)
Fixing route
1 parent 2edeada commit cdf7245

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_chapters/add-an-api-to-create-a-note.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ api.route("POST /notes", "packages/functions/src/create.main");
3535

3636
We are doing a couple of things of note here.
3737

38-
- We are creating an API using SST's [`Api`]({{ site.sst_url }}/docs/component/apigatewayv2/){:target="_blank"} component. It creates an [Amazon API Gateway HTTP API](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api.html){:target="_blank"}.
38+
- We are creating an API using SST's [`Api`]({{ site.sst_url }}/docs/component/aws/apigatewayv2){:target="_blank"} component. It creates an [Amazon API Gateway HTTP API](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api.html){:target="_blank"}.
3939

4040
- We are [linking]({{ site.sst_url }}/docs/linking/){:target="_blank"} our DynamoDB table to our API using the `link` prop. This will allow our API to access our table.
4141

0 commit comments

Comments
 (0)