Pass kwargs to API.request in API.update_profile_banner
authorHarmon <Harmon758@gmail.com>
Wed, 3 Feb 2021 21:46:45 +0000 (15:46 -0600)
committerHarmon <Harmon758@gmail.com>
Wed, 3 Feb 2021 21:46:45 +0000 (15:46 -0600)
tweepy/api.py

index e4006047de1002886a1012b04fcbccc6336e80c5..c8ef42fca98943d3fe7d28d2c29a06d48eba3df3 100644 (file)
@@ -792,7 +792,7 @@ class API:
             'POST', 'account/update_profile_banner',
             allowed_param=['width', 'height', 'offset_left', 'offset_right'],
             require_auth=True,
-            post_data=post_data, headers=headers
+            post_data=post_data, headers=headers, **kwargs
         )
 
     @payload('user')