Add missing require_auth argument for API.request call in API.get_status
authorHarmon <Harmon758@gmail.com>
Wed, 3 Feb 2021 21:57:55 +0000 (15:57 -0600)
committerHarmon <Harmon758@gmail.com>
Wed, 3 Feb 2021 21:57:55 +0000 (15:57 -0600)
tweepy/api.py

index 314e4115444d031ef36027c849b0054cfadadbc7..7b4ee142d6090851743bce96f05ed9389348e80a 100644 (file)
@@ -326,7 +326,8 @@ class API:
             'GET', 'statuses/show', *args,
             allowed_param=['id', 'trim_user', 'include_my_retweet',
                            'include_entities', 'include_ext_alt_text',
-                           'include_card_uri'], **kwargs
+                           'include_card_uri'],
+            require_auth=True, **kwargs
         )
 
     @payload('status')