projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c71a90
)
Change Client.unhide_reply parameter name to match API endpoint
author
Harmon
<Harmon758@gmail.com>
Tue, 27 Apr 2021 12:35:00 +0000
(07:35 -0500)
committer
Harmon
<Harmon758@gmail.com>
Tue, 27 Apr 2021 12:35:00 +0000
(07:35 -0500)
tweepy/client.py
patch
|
blob
|
blame
|
history
diff --git
a/tweepy/client.py
b/tweepy/client.py
index 7befd5625c2e98ea2cb1710be009fee2f429ab36..f4537613c4383be346824a879b48d6b2b69c8588 100644
(file)
--- a/
tweepy/client.py
+++ b/
tweepy/client.py
@@
-193,7
+193,7
@@
class Client:
user_auth=True
)[0]["hidden"]
- def unhide_reply(self,
tweet_
id):
+ def unhide_reply(self, id):
"""Unhides a reply to a Tweet.
Parameters
@@
-212,7
+212,7
@@
class Client:
https://developer.twitter.com/en/docs/twitter-api/tweets/hide-replies/api-reference/put-tweets-id-hidden
"""
return self._make_request(
- "PUT", f"/2/tweets/{
tweet_
id}/hidden", json={"hidden": False},
+ "PUT", f"/2/tweets/{id}/hidden", json={"hidden": False},
user_auth=True
)[0]["hidden"]