lib/ayadn/endpoints.rb in ayadn-1.7.1 vs lib/ayadn/endpoints.rb in ayadn-1.7.2

- old
+ new

@@ -255,10 +255,10 @@ def channels(options) "#{@channels_url}?access_token=#{Settings.user_token}#{API.build_query(options)}" end def channel(channel_id, options = {}) - "#{@channels_url}#{channel_id.join(',')}?access_token=#{Settings.user_token}#{API.build_query(options)}" + "#{@channels_url}?ids=#{channel_id.join(',')}&access_token=#{Settings.user_token}#{API.build_query(options)}" end def messages(channel_id, options = {}) "#{@channels_url}#{channel_id}/messages?access_token=#{Settings.user_token}#{API.build_query(options)}&include_machine=1" end