aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author@brrzap <[email protected]>2017-05-09 01:43:48 -0400
committer@brrzap <[email protected]>2017-05-09 01:43:48 -0400
commit14589563bb4e13e5a247cd766cec944da0ff0365 (patch)
treea57cdbb603237978d9897f97a8523ddef4d98600 /mastodon
parent893ff2e1348d3be512f27120ae3fd1ef55fadb95 (diff)
downloadmastodon.py-14589563bb4e13e5a247cd766cec944da0ff0365.tar.gz
fix doc on follow_request_{authorize,reject}
Diffstat (limited to 'mastodon')
-rw-r--r--mastodon/Mastodon.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py
index 3b00f37..b0ec2bb 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
Powered by cgit v1.2.3 (git 2.41.0)