Skip to content

Commit

Permalink
Passed params from posts propperly
Browse files Browse the repository at this point in the history
  • Loading branch information
isaiahzs committed Dec 11, 2017
1 parent 866c971 commit 690373a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/se/api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def initialize(key, **params)

def posts(ids = "", **params)
return if ids == ""
json("posts/#{Array(ids).join(';')}").map do |i|
json("posts/#{Array(ids).join(';')}", **params).map do |i|
Post.new(i)
end
end
Expand Down

0 comments on commit 690373a

Please sign in to comment.