diff options
author | Lorenz Diener <[email protected]> | 2017-09-25 13:24:53 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2017-09-25 13:24:53 +0200 |
commit | 6ab283d17e1eac2b521bbaffc1b0a635fd68c9f5 (patch) | |
tree | 42b516144c20a2b6024840c71b39e6986322642d | |
parent | b6b503a1a9aac148642b9869d8ae5a3e882f6963 (diff) | |
parent | 67018b224916a96efd1f9df643f72dffd6537185 (diff) | |
download | mastodon.py-6ab283d17e1eac2b521bbaffc1b0a635fd68c9f5.tar.gz |
Merge pull request #86 from Elizafox/master
Fix notifications_dismiss by passing parameter correctly
-rw-r--r-- | mastodon/Mastodon.py | 3 |
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 |