Merge pull request #65 from LogalDeveloper/clearing-notifications-patch

Fixed clearing notifications raising endpoint not found.
This commit is contained in:
Lorenz Diener 2017-08-12 12:40:37 +02:00 cometido por GitHub
commit b2a8f0db44

Veure arxiu

@ -592,7 +592,7 @@ class Mastodon:
"""
Clear out a users notifications
"""
return self.__api_request('GET', '/api/v1/notifications/clear')
return self.__api_request('POST', '/api/v1/notifications/clear')
###
# Writing data: Accounts