diff options
author | Lorenz Diener <[email protected]> | 2017-05-19 10:08:40 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2017-05-19 10:08:40 +0200 |
commit | 3031906743e995030ee59e6d99d417d2363b3ab4 (patch) | |
tree | 3d7b444172f71bb163812aab837b8961ced577f1 /mastodon | |
parent | dd77dff7ba8581bdf36035ac91fd556acd9e2a50 (diff) | |
parent | 14589563bb4e13e5a247cd766cec944da0ff0365 (diff) | |
download | mastodon.py-3031906743e995030ee59e6d99d417d2363b3ab4.tar.gz |
Merge pull request #52 from brrzap/docfix-issue-51
fix doc on follow_request_{authorize,reject}
Diffstat (limited to 'mastodon')
-rw-r--r-- | mastodon/Mastodon.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py index fc3af85..5c6c085 100644 --- a/mastodon/Mastodon.py +++ b/mastodon/Mastodon.py | |||
@@ -670,7 +670,7 @@ class Mastodon: | |||
670 | """ | 670 | """ |
671 | Accept an incoming follow request. | 671 | Accept an incoming follow request. |
672 | 672 | ||
673 | Returns a user dict of the authorized account. | 673 | Returns an empty dict. |
674 | """ | 674 | """ |
675 | return self.__api_request('POST', '/api/v1/follow_requests/' + str(id) + "/authorize") | 675 | return self.__api_request('POST', '/api/v1/follow_requests/' + str(id) + "/authorize") |
676 | 676 | ||
@@ -678,7 +678,7 @@ class Mastodon: | |||
678 | """ | 678 | """ |
679 | Reject an incoming follow request. | 679 | Reject an incoming follow request. |
680 | 680 | ||
681 | Returns a user dict of the rejected account. | 681 | Returns an empty dict. |
682 | """ | 682 | """ |
683 | return self.__api_request('POST', '/api/v1/follow_requests/' + str(id) + "/reject") | 683 | return self.__api_request('POST', '/api/v1/follow_requests/' + str(id) + "/reject") |
684 | 684 | ||