Skip to content

Commit

Permalink
Notes reference
Browse files Browse the repository at this point in the history
  • Loading branch information
jufemaiz committed Jan 30, 2014
1 parent 6e4b10e commit 8fecfd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pipedrive/deal.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def files
File.all(get "#{resource_path}/#{id}/files")
end

def notes(opts = {:sort_by => 'update_time', :sort_mode => 'desc'})
def notes(opts = {:sort_by => 'add_time', :sort_mode => 'desc'})
Note.all(get("/notes", opts.merge(:deal_id => id)))
end

Expand Down

0 comments on commit 8fecfd8

Please sign in to comment.