diff options
author | Lorenz Diener <[email protected]> | 2017-08-12 12:40:37 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2017-08-12 12:40:37 +0200 |
commit | b2a8f0db44b0fdaf692cdcec312a8cba7c28ccab (patch) | |
tree | 5f7ea5fc24a22edc7f7bf3e3bb83c5733c927597 | |
parent | d1b7d89eaa388d48ffb8e0b47ed023a6958e8823 (diff) | |
parent | 5943038be3f10d87e6bf9fc6f141b417366cc871 (diff) | |
download | mastodon.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.py | 2 |
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 |