diff --git a/serverless.ts b/serverless.ts index ab9ee89..b3f32ca 100644 --- a/serverless.ts +++ b/serverless.ts @@ -19,7 +19,7 @@ const serverlessConfig: Serverless = { functions: { createList: { - handler: "functions/list.create", + handler: "src/functions/list.create", environment: { ddb_table: { Ref: "DdbTable" }, }, @@ -33,7 +33,7 @@ const serverlessConfig: Serverless = { ], }, getList: { - handler: "functions/list.get", + handler: "src/functions/list.get", environment: { ddb_table: { Ref: "DdbTable" }, }, @@ -47,7 +47,7 @@ const serverlessConfig: Serverless = { ], }, updateList: { - handler: "functions/list.update", + handler: "src/functions/list.update", environment: { ddb_table: { Ref: "DdbTable" }, }, @@ -61,7 +61,7 @@ const serverlessConfig: Serverless = { ], }, removeList: { - handler: "functions/list.remove", + handler: "src/functions/list.remove", environment: { ddb_table: { Ref: "DdbTable" }, }, diff --git a/functions/list.ts b/src/functions/list.ts similarity index 100% rename from functions/list.ts rename to src/functions/list.ts diff --git a/models/table.ts b/src/models/table.ts similarity index 100% rename from models/table.ts rename to src/models/table.ts