From d7e003004884e085fd295f8c08415a49dd42388e Mon Sep 17 00:00:00 2001 From: Chronister Date: Fri, 11 Aug 2017 17:47:11 -0700 Subject: [PATCH] Change notifications_clear to POST to the endpoint as it ought to --- mastodon/Mastodon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: """ Clear out a users notifications """ - return self.__api_request('GET', '/api/v1/notifications/clear') + return self.__api_request('POST', '/api/v1/notifications/clear') ### # Writing data: Accounts