Skip to content

Commit 448d2f8

Browse files
author
Chase Coalwell
committed
fix: comment on region
1 parent ca137bb commit 448d2f8

File tree

1 file changed

+1
-0
lines changed
  • packages/middleware-location-constraint/src

1 file changed

+1
-0
lines changed

packages/middleware-location-constraint/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ export function locationConstraintMiddleware(
2424
args: InitializeHandlerArguments<any>
2525
): Promise<InitializeHandlerOutput<Output>> => {
2626
const { CreateBucketConfiguration } = args.input;
27+
//After region config resolution, region is a Provider<string>
2728
const region = await options.region();
2829
if (
2930
!CreateBucketConfiguration ||

0 commit comments

Comments
 (0)