Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

Commit

Permalink
fix: proper casing for signature query param
Browse files Browse the repository at this point in the history
  • Loading branch information
gigobyte committed May 2, 2020
1 parent f6138f9 commit acfbfd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/http.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export class HttpClient {
const queryStringToSign = `${method}\n${host}\n/${info.resource}/${info.version}\n${parametersForSigning}`

const signature = sign(queryStringToSign, info.secret)
const parametersWithSignature = { ...parameters, signature }
const parametersWithSignature = { ...parameters, Signature: signature }

return this.fetch({
url: `${url}?${canonicalizeParameters(parametersWithSignature)}`,
Expand Down

0 comments on commit acfbfd6

Please sign in to comment.