Skip to content
This repository has been archived by the owner on Dec 7, 2020. It is now read-only.

Commit

Permalink
Merge pull request #393 from gambol99/fix_up
Browse files Browse the repository at this point in the history
Fixup
  • Loading branch information
gambol99 committed Jul 11, 2018
2 parents fb74ab0 + 5686805 commit 89caa51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ func newDefaultConfig() *Config {
func (r *Config) WithOAuthURI(uri string) string {
if r.BaseURI != "" {
return fmt.Sprintf("%s/%s/%s", r.BaseURI, r.OAuthURI, uri)
} else {
return fmt.Sprintf("%s/%s", r.OAuthURI, uri)
}

return fmt.Sprintf("%s/%s", r.OAuthURI, uri)
}

// isValid validates if the config is valid
Expand Down

0 comments on commit 89caa51

Please sign in to comment.