fix docstring typo

pull/414/head
codl 2025-07-22 21:47:45 +02:00
rodzic db42072efe
commit 9c3656216e
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -80,7 +80,7 @@ class Mastodon(Internals):
@api_version("2.5.0", "2.5.0")
def stream_healthy(self) -> bool:
"""
Returns without True if streaming API is okay, False or raises an error otherwise.
Returns True if streaming API is okay, False or raises an error otherwise.
"""
api_okay = self.__api_request('GET', '/api/v1/streaming/health', base_url_override=self.__get_streaming_base(), parse=False)
if api_okay in [b'OK', b'success']: