From 67018b224916a96efd1f9df643f72dffd6537185 Mon Sep 17 00:00:00 2001 From: Elizabeth Myers Date: Mon, 18 Sep 2017 09:59:35 -0500 Subject: Fix notifications_dismiss by passing parameter correctly --- mastodon/Mastodon.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py index 1fb7d69..49db771 100644 --- a/mastodon/Mastodon.py +++ b/mastodon/Mastodon.py @@ -652,7 +652,8 @@ class Mastodon: """ Deletes a single notification """ - return self.__api_request('POST', '/api/v1/notifications/dismiss') + params = self.__generate_params(locals()) + return self.__api_request('POST', '/api/v1/notifications/dismiss', params) ### # Writing data: Accounts -- cgit v1.2.3