Commit b6696b66 authored by Oire's avatar Oire
Browse files

Changing the path for report_spam.json according to API 1.1 docs

parent c78f9a8d
......@@ -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