We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a8380f commit a3c06e4Copy full SHA for a3c06e4
1 file changed
test/integration/auth/mongodb_aws.test.ts
@@ -260,7 +260,7 @@ describe('MONGODB-AWS', function () {
260
'X-MongoDB-Server-Nonce': 'fakenonce',
261
'X-MongoDB-GS2-CB-Flag': 'n'
262
};
263
- const signed = await aws4Sign(
+ const signedHeaders = await aws4Sign(
264
{
265
method: 'POST',
266
host,
@@ -274,8 +274,8 @@ describe('MONGODB-AWS', function () {
274
creds
275
);
276
277
- const authorization = signed.headers.Authorization;
278
- const xAmzDate = signed.headers['X-Amz-Date'];
+ const authorization = signedHeaders.Authorization;
+ const xAmzDate = signedHeaders['X-Amz-Date'];
279
280
const fetchHeaders = new Headers();
281
for (const [key, value] of Object.entries(headers)) {
0 commit comments