Update authentication.py

pull/419/head
Lorenz Diener 2025-08-19 11:20:14 +03:00 zatwierdzone przez GitHub
rodzic 6d37c4aa22
commit 94882d2129
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 2 dodań i 3 usunięć

Wyświetl plik

@ -272,9 +272,7 @@ class Mastodon(Internals):
def clear_caches(self):
"""
Clear cached data:
* Mastodon version
* Streaming base URL
Clear cached data for astodon version and streaming base URL. Most programs should not have to call this.
"""
self.__version_check_worked = None
self.__version_check_tried = False
@ -531,3 +529,4 @@ class Mastodon(Internals):
Fetch information about the current application.
"""
return self.__api_request('GET', '/api/v1/apps/verify_credentials')