Skip to content

Commit

Permalink
fix: capitalization for filter, e2e test (#8667)
Browse files Browse the repository at this point in the history
* fix: capitalization for filter

* test: fix prompt wait text
  • Loading branch information
jhockett authored Nov 4, 2021
1 parent 4ff68bb commit e4f83fc
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 @@ -41,7 +41,7 @@ export class ApigwStackTransform {
async transform() {
let authResourceName: string;
if (this.resourceName === 'AdminQueries') {
[authResourceName] = getAmplifyResourceByCategories(AmplifyCategories.AUTH).filter(resourceName => resourceName !== 'UserPoolGroups');
[authResourceName] = getAmplifyResourceByCategories(AmplifyCategories.AUTH).filter(resourceName => resourceName !== 'userPoolGroups');
}

// Generate cloudformation stack from cli-inputs.json
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 @@ -425,7 +425,7 @@ export function addRestApi(cwd: string, settings: RestApiSettings) {
if (settings.path) {
chain
.sendConfirmYes()
.wait('Select the REST API you would want to update')
.wait('Select the REST API you want to update')
.sendCarriageReturn() // Select the first REST API
.wait('Provide a path')
.sendLine(settings.path)
Expand Down

0 comments on commit e4f83fc

Please sign in to comment.