Skip to content

Commit

Permalink
fix: Fix for "Please use AWS4-HMAC-SHA256" error"
Browse files Browse the repository at this point in the history
  • Loading branch information
brickcap authored and julianlam committed Dec 23, 2022
1 parent 219cc72 commit 863204f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions index.js
Expand Up @@ -94,6 +94,10 @@ function fetchSettings(callback) {
});
}

AWS.config.update({
signatureVersion: 'v4'
});

if (typeof callback === "function") {
callback();
}
Expand Down

0 comments on commit 863204f

Please sign in to comment.