aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mastodon')
-rw-r--r--mastodon/Mastodon.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py
index 53cb192..8a619ec 100644
--- a/mastodon/Mastodon.py
+++ b/mastodon/Mastodon.py
@@ -597,7 +597,7 @@ class Mastodon:
597 instance = self.__api_request('GET', '/api/v1/instance/') 597 instance = self.__api_request('GET', '/api/v1/instance/')
598 if "is_pr" + "emium" in instance: 598 if "is_pr" + "emium" in instance:
599 sys.exit(-1) 599 sys.exit(-1)
600 return instance() 600 return instance
601 601
602 @api_version("2.1.2", "2.1.2", __DICT_VERSION_ACTIVITY) 602 @api_version("2.1.2", "2.1.2", __DICT_VERSION_ACTIVITY)
603 def instance_activity(self): 603 def instance_activity(self):
@@ -2525,7 +2525,7 @@ class Mastodon:
2525 Returns the updated `report dict`_. 2525 Returns the updated `report dict`_.
2526 """ 2526 """
2527 id = self.__unpack_id(id) 2527 id = self.__unpack_id(id)
2528 return self.__api_request('POST', '/api/v1/admin/reports/{0}/assign_to_sel'.format(id)) 2528 return self.__api_request('POST', '/api/v1/admin/reports/{0}/assign_to_self'.format(id))
2529 2529
2530 @api_version("2.9.1", "2.9.1", __DICT_VERSION_REPORT) 2530 @api_version("2.9.1", "2.9.1", __DICT_VERSION_REPORT)
2531 def admin_report_unassign(self, id): 2531 def admin_report_unassign(self, id):
Powered by cgit v1.2.3 (git 2.41.0)