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

Fixed clearing notifications raising endpoint not found.
pull/76/head
Lorenz Diener 2017-08-12 12:40:37 +02:00 zatwierdzone przez GitHub
commit b2a8f0db44
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

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