Skip to content

Commit 0a536f6

Browse files
committed
Update parameter names
1 parent 30b1697 commit 0a536f6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/twitch/client.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -393,8 +393,8 @@ def followed(user_id, options = {})
393393
end
394394

395395
def follow_status(user_id, channel_id, options = {})
396-
options[:from_id] = user_id
397-
options[:to_id] = channel_id
396+
options[:user_id] = user_id
397+
options[:broadcaster_id] = channel_id
398398
query = build_query_string(options)
399399
path = "/channels/followed"
400400
url = @base_url + path + query

0 commit comments

Comments
 (0)