kopia lustrzana https://github.com/halcy/Mastodon.py
fix doc on follow_request_{authorize,reject}
rodzic
893ff2e134
commit
14589563bb
|
@ -670,7 +670,7 @@ class Mastodon:
|
||||||
"""
|
"""
|
||||||
Accept an incoming follow request.
|
Accept an incoming follow request.
|
||||||
|
|
||||||
Returns a user dict of the authorized account.
|
Returns an empty dict.
|
||||||
"""
|
"""
|
||||||
return self.__api_request('POST', '/api/v1/follow_requests/' + str(id) + "/authorize")
|
return self.__api_request('POST', '/api/v1/follow_requests/' + str(id) + "/authorize")
|
||||||
|
|
||||||
|
@ -678,7 +678,7 @@ class Mastodon:
|
||||||
"""
|
"""
|
||||||
Reject an incoming follow request.
|
Reject an incoming follow request.
|
||||||
|
|
||||||
Returns a user dict of the rejected account.
|
Returns an empty dict.
|
||||||
"""
|
"""
|
||||||
return self.__api_request('POST', '/api/v1/follow_requests/' + str(id) + "/reject")
|
return self.__api_request('POST', '/api/v1/follow_requests/' + str(id) + "/reject")
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue