From c671f4bbb36c3e754c43ee2bb0de62545bf65cad Mon Sep 17 00:00:00 2001 From: Lorenz Diener Date: Sat, 22 Jun 2019 21:56:33 +0200 Subject: Add versioning to admin_report --- mastodon/Mastodon.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py index b1c55b1..83726d4 100644 --- a/mastodon/Mastodon.py +++ b/mastodon/Mastodon.py @@ -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. -- cgit v1.2.3