Fix notifications_dismiss by passing parameter correctly

This commit is contained in:
Elizabeth Myers 2017-09-18 09:59:35 -05:00
pare 5b90a3c830
commit 67018b2249

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