diff --git a/instagram/client.py b/instagram/client.py index c2d80195..8e664c4c 100644 --- a/instagram/client.py +++ b/instagram/client.py @@ -160,6 +160,7 @@ def __init__(self, *args, **kwargs): root_class = User) change_user_relationship = bind_method( + method = "POST", path = "/users/{user_id}/relationship", root_class = Relationship, accepts_parameters = ["user_id", "action"], @@ -206,4 +207,4 @@ def _make_subscription_action(method, include=None, exclude=None): create_subscription = _make_subscription_action('POST') list_subscriptions = _make_subscription_action('GET') - delete_subscriptions = _make_subscription_action('DELETE', exclude=['object_id'], include=['id']) \ No newline at end of file + delete_subscriptions = _make_subscription_action('DELETE', exclude=['object_id'], include=['id'])