Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Minor error #101

Open
exadeci opened this issue Jun 3, 2015 · 1 comment
Open

Minor error #101

exadeci opened this issue Jun 3, 2015 · 1 comment
Labels

Comments

@exadeci
Copy link
Contributor

exadeci commented Jun 3, 2015

if params

Should be:

    if params.present?
      params = params.is_a?(String) ? params : self.class.parse_params(params)
      path << "?#{params}"
    end

Because it adds a "?" on every request.

@arthurnn
Copy link
Collaborator

arthurnn commented Jun 3, 2015

fell free to open a PR, with a regression test to illustrate the bug.

@qoobaa qoobaa added the bug label Jul 6, 2015
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants