From: Harmon Date: Sat, 10 Apr 2021 14:22:59 +0000 (-0500) Subject: Update API.update_profile_banner endpoint parameters X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=83f9b79f5744dc7327a8e1c7d5720742c3d370f1;p=tweepy.git Update API.update_profile_banner endpoint parameters offset_right -> offset_top --- diff --git a/tweepy/api.py b/tweepy/api.py index 91b36c2..a412197 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -1941,7 +1941,7 @@ class API: files = {'banner': open(filename, 'rb')} return self.request( 'POST', 'account/update_profile_banner', endpoint_parameters=( - 'width', 'height', 'offset_left', 'offset_right' + 'width', 'height', 'offset_left', 'offset_top' ), files=files, **kwargs )