Add versioning to admin_report

pull/181/head
Lorenz Diener 2019-06-22 21:56:33 +02:00
rodzic 75b7fc7779
commit c671f4bbb3
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -2504,6 +2504,7 @@ class Mastodon:
params = self.__generate_params(locals())
return self.__api_request('GET', '/api/v1/admin/reports', params)
@api_version("2.9.1", "2.9.1", __DICT_VERSION_REPORT)
def admin_report(self, id):
"""
Fetches the report with the given id.