Skip to content

Commit

Permalink
Fix typo in s3 error property extendedRequestId (#1987)
Browse files Browse the repository at this point in the history
  • Loading branch information
cjlarose authored and chrisradek committed Mar 28, 2018
1 parent be6f707 commit bae2bbd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/error.d.ts
Expand Up @@ -41,7 +41,7 @@ export class AWSError extends Error {
/**
* Second request ID associated with the response from S3.
*/
extendedRequstId: string;
extendedRequestId: string;
/**
* CloudFront request ID associated with the response.
*/
Expand Down
2 changes: 1 addition & 1 deletion ts/s3.ts
Expand Up @@ -30,7 +30,7 @@ s3.listObjects({
Bucket: 'BUCKET2'
}, function(err, data) {
if (err) {
console.log(err.extendedRequstId);
console.log(err.extendedRequestId);
} else if (data && data.Contents) {
data.Contents.forEach(function(content) {
console.log(content.Key);
Expand Down

0 comments on commit bae2bbd

Please sign in to comment.