Skip to content

Commit 74db5c0

Browse files
roryhackneybennettsf
authored andcommitted
pulled latest changes and fixed a couple bugs resulting from that
1 parent d33267b commit 74db5c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/rest-api-construct/src/construct.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ void describe('RestApiConstruct Lambda Handling', () => {
7171
apiProps: [
7272
{
7373
path: 'items',
74-
routes: ['GET'],
74+
methods: ['GET'],
7575
lambdaEntry: {
7676
runtime: lambda.Runtime.NODEJS_22_X,
7777
source: {
@@ -106,7 +106,7 @@ void describe('RestApiConstruct Lambda Handling', () => {
106106
apiProps: [
107107
{
108108
path: 'stuff',
109-
routes: ['GET'],
109+
methods: ['GET'],
110110
lambdaEntry: {
111111
runtime: lambda.Runtime.NODEJS_22_X,
112112
source: { id: func.functionArn, name: func.functionName },

0 commit comments

Comments
 (0)