Commit b4fc516f authored by Joshua Roesslein's avatar Joshua Roesslein
Browse files

Merge pull request #270 from Oire/master

report_spam changed according to API 1.1 docs
parents c78f9a8d b6696b66
......@@ -451,10 +451,10 @@ class API(object):
""" 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
)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment