diff options
author | Lorenz Diener <[email protected]> | 2019-06-22 21:56:33 +0200 |
---|---|---|
committer | Lorenz Diener <[email protected]> | 2019-06-22 21:56:33 +0200 |
commit | c671f4bbb36c3e754c43ee2bb0de62545bf65cad (patch) | |
tree | b52ba738508d7ec95d29228cf6f985c2df576b11 | |
parent | 75b7fc7779a3ae23e89129b3ae455c1479245e2f (diff) | |
download | mastodon.py-c671f4bbb36c3e754c43ee2bb0de62545bf65cad.tar.gz |
Add versioning to admin_report
-rw-r--r-- | mastodon/Mastodon.py | 1 |
1 files changed, 1 insertions, 0 deletions
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: | |||
2504 | params = self.__generate_params(locals()) | 2504 | params = self.__generate_params(locals()) |
2505 | return self.__api_request('GET', '/api/v1/admin/reports', params) | 2505 | return self.__api_request('GET', '/api/v1/admin/reports', params) |
2506 | 2506 | ||
2507 | @api_version("2.9.1", "2.9.1", __DICT_VERSION_REPORT) | ||
2507 | def admin_report(self, id): | 2508 | def admin_report(self, id): |
2508 | """ | 2509 | """ |
2509 | Fetches the report with the given id. | 2510 | Fetches the report with the given id. |