Skip to content

Commit a3c06e4

Browse files
committed
minor fix
1 parent 5a8380f commit a3c06e4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

test/integration/auth/mongodb_aws.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ describe('MONGODB-AWS', function () {
260260
'X-MongoDB-Server-Nonce': 'fakenonce',
261261
'X-MongoDB-GS2-CB-Flag': 'n'
262262
};
263-
const signed = await aws4Sign(
263+
const signedHeaders = await aws4Sign(
264264
{
265265
method: 'POST',
266266
host,
@@ -274,8 +274,8 @@ describe('MONGODB-AWS', function () {
274274
creds
275275
);
276276

277-
const authorization = signed.headers.Authorization;
278-
const xAmzDate = signed.headers['X-Amz-Date'];
277+
const authorization = signedHeaders.Authorization;
278+
const xAmzDate = signedHeaders['X-Amz-Date'];
279279

280280
const fetchHeaders = new Headers();
281281
for (const [key, value] of Object.entries(headers)) {

0 commit comments

Comments
 (0)