Skip to content

Commit

Permalink
fix(service): use service signatureVersion as default
Browse files Browse the repository at this point in the history
  • Loading branch information
kuhe committed Nov 25, 2022
1 parent 282e61d commit bd4a4b8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/region_config.js
Expand Up @@ -63,7 +63,9 @@ function configureEndpoint(service) {
}

// signature version
if (!config.signatureVersion) config.signatureVersion = 'v4';
if (!config.signatureVersion) {
config.signatureVersion = service.signatureVersion || 'v4';
}

// merge config
applyConfig(service, config);
Expand Down

0 comments on commit bd4a4b8

Please sign in to comment.