Permalink
Browse files

Fixes #67

  • Loading branch information...
1 parent 72b9603 commit a5f8afae423ed89fe915941278a7408e583a204a @pksunkara committed Nov 27, 2013
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/octonode/client.js
  2. +1 −1 src/octonode/client.coffee
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -65,7 +65,7 @@ class Client
# Github api URL builder
buildUrl: (path = '/', pageOrQuery = null, per_page = null) ->
- if typeof pageOrQuery == 'object'
+ if pageOrQuery? and typeof pageOrQuery == 'object'
query = pageOrQuery
else
query =

0 comments on commit a5f8afa

Please sign in to comment.