Skip to content

Commit 4af1c72

Browse files
committed
Fix destroy_status
1 parent 2ee7194 commit 4af1c72

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tweepy/api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,8 @@ def __init__(self, auth_handler=None,
105105

106106
""" statuses/destroy """
107107
destroy_status = bind_api(
108-
path = '/statuses/destroy.json',
109-
method = 'DELETE',
108+
path = '/statuses/destroy/{id}.json',
109+
method = 'POST',
110110
payload_type = 'status',
111111
allowed_param = ['id'],
112112
require_auth = True

0 commit comments

Comments
 (0)