From 6a7ce14a3177960c38fd0a1c0a43393f3d0f5028 Mon Sep 17 00:00:00 2001 From: "Aaron S." <94858815+stocaaro@users.noreply.github.com> Date: Tue, 19 Nov 2024 08:01:10 -0600 Subject: [PATCH] Update src/pages/[platform]/build-a-backend/data/customize-authz/grant-lambda-function-access-to-api/index.mdx Co-authored-by: josef --- .../grant-lambda-function-access-to-api/index.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/[platform]/build-a-backend/data/customize-authz/grant-lambda-function-access-to-api/index.mdx b/src/pages/[platform]/build-a-backend/data/customize-authz/grant-lambda-function-access-to-api/index.mdx index 9bd1dc88565..1ef21fe3410 100644 --- a/src/pages/[platform]/build-a-backend/data/customize-authz/grant-lambda-function-access-to-api/index.mdx +++ b/src/pages/[platform]/build-a-backend/data/customize-authz/grant-lambda-function-access-to-api/index.mdx @@ -98,7 +98,7 @@ In the handler file for your function, configure the Amplify data client ```ts title="amplify/functions/data-access/handler.ts" import type { Handler } from 'aws-lambda'; -import { type Schema } from '../../data/resource'; +import type { Schema } from '../../data/resource'; import { Amplify } from 'aws-amplify'; import { generateClient } from 'aws-amplify/data'; import { getAmplifyDataClientConfig } from '@aws-amplify/backend/function/runtime';