fix(AwsS3 Node): Use location constrain (#8654)

This commit is contained in:
Michael Kret
2024-02-16 15:13:26 +02:00
committed by GitHub
parent 8e9d3106a5
commit c73aeeec3d
2 changed files with 10 additions and 2 deletions

View File

@@ -29,12 +29,14 @@ export async function awsApiRequest(
service,
path,
query,
_region,
},
method,
body,
url: '',
headers,
} as IHttpRequestOptions;
if (Object.keys(option).length !== 0) {
Object.assign(requestOptions, option);
}