aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElizabeth Myers <[email protected]>2017-09-18 09:59:35 -0500
committerElizabeth Myers <[email protected]>2017-09-18 09:59:35 -0500
commit67018b224916a96efd1f9df643f72dffd6537185 (patch)
tree42b516144c20a2b6024840c71b39e6986322642d /mastodon
parent5b90a3c8302f7a13303f95d12eb3e3a7de635f4b (diff)
downloadmastodon.py-67018b224916a96efd1f9df643f72dffd6537185.tar.gz
Fix notifications_dismiss by passing parameter correctly
Diffstat (limited to 'mastodon')
-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)