Skip to content

Commit

Permalink
fix(graphql): lambda auth label fix (#8623)
Browse files Browse the repository at this point in the history
  • Loading branch information
sundersc authored Nov 2, 2021
1 parent 1ba9318 commit 6b4994d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1063,7 +1063,7 @@ async function askLambdaQuestion(context) {
const lambdaAnswer = await inquirer.prompt({
name: 'functionType',
type: 'list',
message: 'Choose a Lambda source',
message: 'Choose a Lambda authorization function',
choices,
default: defaultFunctionType,
});
Expand Down
2 changes: 1 addition & 1 deletion packages/amplify-e2e-core/src/categories/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ export function addApiWithAllAuthModesV2(cwd: string, opts: Partial<AddApiOption
.wait(/.*Enter the number of milliseconds a token is valid after being authenticated.*/)
.sendLine('2000')
// Lambda
.wait(/.*Choose a Lambda source*/)
.wait(/.*Choose a Lambda authorization function*/)
.sendCarriageReturn()
.wait(/.*How long should the authorization response be cached in seconds.*/)
.sendLine('600')
Expand Down

0 comments on commit 6b4994d

Please sign in to comment.