From 5943038be3f10d87e6bf9fc6f141b417366cc871 Mon Sep 17 00:00:00 2001 From: Logan Fick Date: Mon, 31 Jul 2017 00:29:45 -0400 Subject: [PATCH] Fixed clearing notifications raising endpoint not found. --- 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