aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex McGivern <[email protected]>2017-04-26 23:13:49 +0100
committerAlex McGivern <[email protected]>2017-04-26 23:13:49 +0100
commit973182cda07bc64545523b2ae0940c6f170c6db6 (patch)
tree069fa4b2caecf6da92d1bb53ea645b9a5f3bde6e
parent00998d6d468f88fd89e4e925f3eac14cd2a0a3d6 (diff)
downloadmastodon.py-973182cda07bc64545523b2ae0940c6f170c6db6.tar.gz
account_update_credentials uses PATCH, not POST
-rw-r--r--mastodon/Mastodon.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py
index 2e557e4..a32241b 100644
--- a/mastodon/Mastodon.py
+++ b/mastodon/Mastodon.py
@@ -646,7 +646,7 @@ class Mastodon:
646 'avatar' and 'header' are PNG images encoded in base64. 646 'avatar' and 'header' are PNG images encoded in base64.
647 """ 647 """
648 params = self.__generate_params(locals()) 648 params = self.__generate_params(locals())
649 return self.__api_request('POST', '/api/v1/accounts/update_credentials', params) 649 return self.__api_request('PATCH', '/api/v1/accounts/update_credentials', params)
650 650
651 ### 651 ###
652 # Writing data: Reports 652 # Writing data: Reports
Powered by cgit v1.2.3 (git 2.41.0)