From 2b8c5de03fb81704aac7639539354783f5a5e3c1 Mon Sep 17 00:00:00 2001 From: micah <42517495+catgoat@users.noreply.github.com> Date: Fri, 25 Nov 2022 21:47:54 +0000 Subject: typos lol --- mastodon/Mastodon.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mastodon/Mastodon.py') diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py index befb030..c519a0d 100644 --- a/mastodon/Mastodon.py +++ b/mastodon/Mastodon.py @@ -3376,8 +3376,8 @@ class Mastodon: if id is not None: return self.__api_request('GET', '/api/v1/admin/domain_blocks/{0}'.format(id)) else: - params = params = self.__generate_params(locals(),['limit']) - return self.__api_request('GET', '/api/v1/admin/domain_blocks/') + params = self.__generate_params(locals(),['limit']) + return self.__api_request('GET', '/api/v1/admin/domain_blocks/', params) @api_version("4.0.0","4.0.0","4.0.0") def admin_domain_block(self, domain:str, severity:str=None, reject_media:bool=None, reject_reports:bool=None, private_comment:str=None, public_comment:str=None, obfuscate:bool=None): @@ -3413,7 +3413,7 @@ class Mastodon: Valid severities are: * "silence" - hide all posts from federated timelines and do not show notifications to local users from the remote instance's users unless they are following the remote user. * "suspend" - deny interactions with this instance going forward. This action is reversible. - * "limit" - generally used with reject_media=true to force reject media from an instance without silencing or suspending.. + * "limit" - generally used with reject_media=true to force reject media from an instance without silencing or suspending. If no action is specified, the domain is only silenced. `domain` is the domain to block. Note that using the top level domain will also imapct all subdomains. ie, example.com will also impact subdomain.example.com. -- cgit v1.2.3