account_update_credentials uses PATCH, not POST
This commit is contained in:
pare
00998d6d46
commit
973182cda0
S'han modificat 1 arxius amb 1 adicions i 1 eliminacions
|
@ -646,7 +646,7 @@ class Mastodon:
|
|||
'avatar' and 'header' are PNG images encoded in base64.
|
||||
"""
|
||||
params = self.__generate_params(locals())
|
||||
return self.__api_request('POST', '/api/v1/accounts/update_credentials', params)
|
||||
return self.__api_request('PATCH', '/api/v1/accounts/update_credentials', params)
|
||||
|
||||
###
|
||||
# Writing data: Reports
|
||||
|
|
Loading…
Referencia en una nova incidència