Permalink
Browse files

Merge pull request #270 from Oire/master

report_spam changed according to API 1.1 docs
  • Loading branch information...
joshthecoder committed Mar 16, 2013
2 parents c78f9a8 + b6696b6 commit b4fc516fc3a8ff8bff280cddbde06547e5f173da
Showing with 2 additions and 2 deletions.
  1. +2 −2 tweepy/api.py
View
@@ -451,10 +451,10 @@ def update_profile_background_image(self, filename, *args, **kargs):
""" report_spam """
report_spam = bind_api(
- path = '/report_spam.json',
+ path = '/users/report_spam.json',
method = 'POST',
payload_type = 'user',
- allowed_param = ['id', 'user_id', 'screen_name'],
+ allowed_param = ['user_id', 'screen_name'],
require_auth = True
)

0 comments on commit b4fc516

Please sign in to comment.