Commit 7f99421f authored by Joshua Roesslein's avatar Joshua Roesslein
Browse files

Fix create/destory favorites for v1.1.

parent b2acaae0
......@@ -432,7 +432,7 @@ class API(object):
""" favorites/create """
create_favorite = bind_api(
path = '/favorites/create/{id}.json',
path = '/favorites/create.json',
method = 'POST',
payload_type = 'status',
allowed_param = ['id'],
......@@ -441,8 +441,8 @@ class API(object):
""" favorites/destroy """
destroy_favorite = bind_api(
path = '/favorites/destroy/{id}.json',
method = 'DELETE',
path = '/favorites/destroy.json',
method = 'POST',
payload_type = 'status',
allowed_param = ['id'],
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