From 1a9b52d121d6d00cdb8a8a9863170b748b02574e Mon Sep 17 00:00:00 2001 From: Harmon Date: Sat, 13 Feb 2021 16:10:03 -0600 Subject: [PATCH] Remove id endpoint parameter for API.destroy_block --- tweepy/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tweepy/api.py b/tweepy/api.py index 8e32ec4..075d327 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -786,7 +786,7 @@ class API: """ return self.request( 'POST', 'blocks/destroy', *args, endpoint_parameters=( - 'id', 'user_id', 'screen_name' + 'user_id', 'screen_name' ), **kwargs ) -- 2.25.1