Skip to content

Commit 26f79ea

Browse files
chore: handler update
1 parent 1b27c8e commit 26f79ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/cdk/resources/Functions.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export class Functions extends Construct {
4444
stackName: props.stackName,
4545
functionName: `${props.stackName}-CreateIndexFunction`,
4646
packageBasePath: "packages/createIndexFunction",
47-
handler: "app.handler",
47+
handler: "app.handler.py",
4848
logRetentionInDays: props.logRetentionInDays,
4949
logLevel: props.logLevel,
5050
environmentVariables: {"INDEX_NAME": props.collectionId},
@@ -82,7 +82,7 @@ export class Functions extends Construct {
8282
stackName: props.stackName,
8383
functionName: `${props.stackName}-SyncKnowledgeBaseFunction`,
8484
packageBasePath: "packages/syncKnowledgeBaseFunction",
85-
handler: "app.handler",
85+
handler: "app.handler.py",
8686
logRetentionInDays: props.logRetentionInDays,
8787
logLevel: props.logLevel,
8888
environmentVariables: {

0 commit comments

Comments
 (0)