diff options
-rw-r--r-- | mastodon/accounts.py | 2 | ||||
-rw-r--r-- | mastodon/admin.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/mastodon/accounts.py b/mastodon/accounts.py index 3d10088..cd43c57 100644 --- a/mastodon/accounts.py +++ b/mastodon/accounts.py | |||
@@ -392,7 +392,7 @@ class Mastodon(Internals): | |||
392 | Returns a :ref:`relationship dict <relationship dict>` containing the updated relationship to the user. | 392 | Returns a :ref:`relationship dict <relationship dict>` containing the updated relationship to the user. |
393 | """ | 393 | """ |
394 | id = self.__unpack_id(id) | 394 | id = self.__unpack_id(id) |
395 | return self.__api_request('POST', f'/api/v1/accounts/{id}/unmute', params) | 395 | return self.__api_request('POST', f'/api/v1/accounts/{id}/unmute') |
396 | 396 | ||
397 | @api_version("1.1.1", "3.1.0", _DICT_VERSION_ACCOUNT) | 397 | @api_version("1.1.1", "3.1.0", _DICT_VERSION_ACCOUNT) |
398 | def account_update_credentials(self, display_name=None, note=None, | 398 | def account_update_credentials(self, display_name=None, note=None, |
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): |