fix doc on follow_request_{authorize,reject}
This commit is contained in:
pare
893ff2e134
commit
14589563bb
S'han modificat 1 arxius amb 2 adicions i 2 eliminacions
|
@ -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")
|
||||||
|
|
||||||
|
|
Loading…
Referencia en una nova incidència