Skip to content

Commit ba07a30

Browse files
author
Dane Pilcher
committed
fix import path for dynamodb stream event source lambda resource
1 parent 9183a63 commit ba07a30

File tree

1 file changed

+2
-2
lines changed
  • src/pages/[platform]/build-a-backend/functions/examples/dynamo-db-stream

1 file changed

+2
-2
lines changed

src/pages/[platform]/build-a-backend/functions/examples/dynamo-db-stream/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export const handler: DynamoDBStreamHandler = async (event) => {
7171
}
7272
}
7373
logger.info(`Successfully processed ${event.Records.length} records.`);
74-
74+
7575
return {
7676
batchItemFailures: [],
7777
};
@@ -86,7 +86,7 @@ import { StartingPosition } from "aws-cdk-lib/aws-lambda";
8686
import { DynamoEventSource } from "aws-cdk-lib/aws-lambda-event-sources";
8787
import { auth } from "./auth/resource";
8888
import { data } from "./data/resource";
89-
import { myDynamoDBFunction } from "./functions/kinesis-function/resource";
89+
import { myDynamoDBFunction } from "./functions/dynamoDB-function/resource";
9090

9191
const backend = defineBackend({
9292
auth,

0 commit comments

Comments
 (0)