Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@crate.ai/discogs-sdk",
"version": "2.4.0",
"version": "2.4.1",
"description": "an SDK for the Discogs API",
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions core/src/implementations/DefaultOAuthHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export class DefaultOAuthHandler implements OAuthHandler {
`OAuth oauth_consumer_key="${this.config.consumerKey}",` +
`oauth_nonce="${nonce}",` +
`oauth_callback="${encodeURIComponent(this.config.callbackUrl)}",` +
`oauth_signature="${encodeURIComponent(signature)}",` +
`oauth_signature="${signature}",` +
`oauth_signature_method="PLAINTEXT",` +
`oauth_timestamp="${timestamp}",` +
`oauth_version="1.0"`;
Expand Down Expand Up @@ -120,7 +120,7 @@ export class DefaultOAuthHandler implements OAuthHandler {
`oauth_nonce="${nonce}",` +
`oauth_token="${requestToken}",` +
`oauth_verifier="${params.oauthVerifier}",` +
`oauth_signature="${encodeURIComponent(signature)}",` +
`oauth_signature="${signature}",` +
`oauth_signature_method="PLAINTEXT",` +
`oauth_timestamp="${timestamp}",` +
`oauth_version="1.0"`;
Expand Down