diff options
Diffstat (limited to 'mastodon/admin.py')
-rw-r--r-- | mastodon/admin.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mastodon/admin.py b/mastodon/admin.py index 422be35..405b30b 100644 --- a/mastodon/admin.py +++ b/mastodon/admin.py | |||
@@ -212,7 +212,7 @@ class Mastodon(Internals): | |||
212 | Returns the updated :ref:`admin account dict <admin account dict>`. | 212 | Returns the updated :ref:`admin account dict <admin account dict>`. |
213 | """ | 213 | """ |
214 | id = self.__unpack_id(id) | 214 | id = self.__unpack_id(id) |
215 | return self.__api_request('POST', f'/api/v1/admin/accounts/{f}/unsensitive') | 215 | return self.__api_request('POST', f'/api/v1/admin/accounts/{id}/unsensitive') |
216 | 216 | ||
217 | @api_version("2.9.1", "2.9.1", "2.9.1") | 217 | @api_version("2.9.1", "2.9.1", "2.9.1") |
218 | def admin_account_moderate(self, id, action=None, report_id=None, warning_preset_id=None, text=None, send_email_notification=True): | 218 | def admin_account_moderate(self, id, action=None, report_id=None, warning_preset_id=None, text=None, send_email_notification=True): |