Remove id endpoint parameter for API.create_block
authorHarmon <Harmon758@gmail.com>
Sat, 13 Feb 2021 22:01:16 +0000 (16:01 -0600)
committerHarmon <Harmon758@gmail.com>
Sat, 13 Feb 2021 22:01:16 +0000 (16:01 -0600)
tweepy/api.py

index 0e8213f7c4657027ab90a3ce4a3afdfc52966d23..bb0b3d9124b86cebde4474032fc1405204ba7c70 100644 (file)
@@ -776,7 +776,7 @@ class API:
         """
         return self.request(
             'POST', 'blocks/create', *args, endpoint_parameters=(
-                'id', 'user_id', 'screen_name'
+                'user_id', 'screen_name'
             ), **kwargs
         )