Permalink
Browse files

added empty body params to make Faraday happy

  • Loading branch information...
1 parent 3c4b0aa commit 074787e83657ee8c2ec1d749ae9799b5a8395929 @pengwynn pengwynn committed Sep 25, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/twitter/base.rb
View
@@ -78,7 +78,7 @@ def status_destroy(id)
end
def retweet(id)
- perform_post("statuses/retweet/#{id}.json")
+ perform_post("statuses/retweet/#{id}.json", :body => {})
end
# Options: id, user_id, screen_name, page
@@ -303,7 +303,7 @@ def list_subscribers(list_owner_screen_name, slug, query={})
end
def list_subscribe(list_owner_screen_name, slug)
- perform_post("#{list_owner_screen_name}/#{slug}/subscribers.json")
+ perform_post("#{list_owner_screen_name}/#{slug}/subscribers.json", :body => {})
end
def list_unsubscribe(list_owner_screen_name, slug)

0 comments on commit 074787e

Please sign in to comment.