Merge pull request #86 from Elizafox/master

Fix notifications_dismiss by passing parameter correctly
This commit is contained in:
Lorenz Diener 2017-09-25 13:24:53 +02:00 cometido por GitHub
commit 6ab283d17e

Veure arxiu

@ -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