Skip to content

Commit

Permalink
fix(experimentalIdentityAndAuth): fix typo in `httpAuthSchemeMiddlewa…
Browse files Browse the repository at this point in the history
…re` (#1032)
  • Loading branch information
Steven Yuan authored Nov 6, 2023
1 parent 8fe675c commit e92dbaf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/weak-pots-know.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@smithy/experimental-identity-and-auth": patch
---

Fix typo in `HttpAuthScheme` not enabled message in `httpAuthSchemeMiddleware`.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export const httpAuthSchemeMiddleware = <
for (const option of options) {
const scheme = authSchemes.get(option.schemeId);
if (!scheme) {
failureReasons.push(`HttpAuthScheme \`${option.schemeId}\` was not enable for this service.`);
failureReasons.push(`HttpAuthScheme \`${option.schemeId}\` was not enabled for this service.`);
continue;
}
const identityProvider = scheme.identityProvider(config.identityProviderConfig);
Expand Down

0 comments on commit e92dbaf

Please sign in to comment.