diff --git a/src/pages/[platform]/build-a-backend/functions/grant-access-to-other-resources/index.mdx b/src/pages/[platform]/build-a-backend/functions/grant-access-to-other-resources/index.mdx index ff609204c3b..13c6b202e73 100644 --- a/src/pages/[platform]/build-a-backend/functions/grant-access-to-other-resources/index.mdx +++ b/src/pages/[platform]/build-a-backend/functions/grant-access-to-other-resources/index.mdx @@ -60,7 +60,7 @@ export const storage = defineStorage({ }); ``` -This access definition will add the environment variable `myProjectFiles_BUCKET_NAME` to the function. This environment variable can be accessed on the `env` object. +This access definition will add the environment variable `myReports_BUCKET_NAME` to the function. This environment variable can be accessed on the `env` object. Here's an example of how it can be used to upload some content to S3.