aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Diener <[email protected]>2017-08-12 12:40:37 +0200
committerGitHub <[email protected]>2017-08-12 12:40:37 +0200
commitb2a8f0db44b0fdaf692cdcec312a8cba7c28ccab (patch)
tree5f7ea5fc24a22edc7f7bf3e3bb83c5733c927597
parentd1b7d89eaa388d48ffb8e0b47ed023a6958e8823 (diff)
parent5943038be3f10d87e6bf9fc6f141b417366cc871 (diff)
downloadmastodon.py-b2a8f0db44b0fdaf692cdcec312a8cba7c28ccab.tar.gz
Merge pull request #65 from LogalDeveloper/clearing-notifications-patch
Fixed clearing notifications raising endpoint not found.
-rw-r--r--mastodon/Mastodon.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py
index 7203c8a..3b186fe 100644
--- a/mastodon/Mastodon.py
+++ b/mastodon/Mastodon.py
@@ -592,7 +592,7 @@ class Mastodon:
592 """ 592 """
593 Clear out a users notifications 593 Clear out a users notifications
594 """ 594 """
595 return self.__api_request('GET', '/api/v1/notifications/clear') 595 return self.__api_request('POST', '/api/v1/notifications/clear')
596 596
597 ### 597 ###
598 # Writing data: Accounts 598 # Writing data: Accounts
Powered by cgit v1.2.3 (git 2.41.0)