aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Diener <[email protected]>2017-09-25 13:24:53 +0200
committerGitHub <[email protected]>2017-09-25 13:24:53 +0200
commit6ab283d17e1eac2b521bbaffc1b0a635fd68c9f5 (patch)
tree42b516144c20a2b6024840c71b39e6986322642d
parentb6b503a1a9aac148642b9869d8ae5a3e882f6963 (diff)
parent67018b224916a96efd1f9df643f72dffd6537185 (diff)
downloadmastodon.py-6ab283d17e1eac2b521bbaffc1b0a635fd68c9f5.tar.gz
Merge pull request #86 from Elizafox/master
Fix notifications_dismiss by passing parameter correctly
-rw-r--r--mastodon/Mastodon.py3
1 files changed, 2 insertions, 1 deletions
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:
652 """ 652 """
653 Deletes a single notification 653 Deletes a single notification
654 """ 654 """
655 return self.__api_request('POST', '/api/v1/notifications/dismiss') 655 params = self.__generate_params(locals())
656 return self.__api_request('POST', '/api/v1/notifications/dismiss', params)
656 657
657 ### 658 ###
658 # Writing data: Accounts 659 # Writing data: Accounts
Powered by cgit v1.2.3 (git 2.41.0)