Skip to content

Commit

Permalink
Merge pull request #13 from luxflux/patch-1
Browse files Browse the repository at this point in the history
Fix Pipedrive::Stage.deals
  • Loading branch information
jeanmartin committed Apr 23, 2014
2 parents 5dda093 + 7e99ca2 commit e3aa453
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pipedrive/stage.rb
@@ -1,7 +1,7 @@
module Pipedrive
class Stage < Base
def self.deals(id)
Deal.all(get "#{resource_path}/#{id}/deals", :everyone => 1)
Deal.all(get "#{resource_path}/#{id}/deals", :query => {:everyone => 1})
end
end
end

0 comments on commit e3aa453

Please sign in to comment.