Skip to content

Commit

Permalink
Another formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
bloveless committed May 4, 2020
1 parent bc469db commit 308d52e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions request.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func processParams(input interface{}) url.Values {

if value != nil {
// convert to string based on underlying type
switch value := value.(type) {
switch value := value.(type) {
case string:
params.Add(name, value)
case bool:
Expand Down Expand Up @@ -194,7 +194,7 @@ func (c Client) signature(sr signatureRequest) (string, error) {

signingKey := url.QueryEscape(c.OAuthConsumerSecret) + "&" + url.QueryEscape(c.OAuthAccessTokenSecret)

sig, err := calculateSignature(signatureBaseString, signingKey)
sig, err := calculateSignature(signatureBaseString, signingKey)
if err != nil {
return "", err
}
Expand Down

0 comments on commit 308d52e

Please sign in to comment.