From cdf7245506d30158173998e3bcacfd5d00c42c69 Mon Sep 17 00:00:00 2001 From: Aaron Pennington Date: Fri, 6 Dec 2024 16:51:24 -0700 Subject: [PATCH] Update add-an-api-to-create-a-note.md (#772) Fixing route --- _chapters/add-an-api-to-create-a-note.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_chapters/add-an-api-to-create-a-note.md b/_chapters/add-an-api-to-create-a-note.md index 5d2c75343..d970f3dcd 100644 --- a/_chapters/add-an-api-to-create-a-note.md +++ b/_chapters/add-an-api-to-create-a-note.md @@ -35,7 +35,7 @@ api.route("POST /notes", "packages/functions/src/create.main"); We are doing a couple of things of note here. -- 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"}. +- 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"}. - 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.