From fba5e6a9e6da8a712686a50fcee00e1674a0e718 Mon Sep 17 00:00:00 2001 From: Alex Camilleri Date: Wed, 23 Oct 2024 01:32:35 +0200 Subject: [PATCH] key fix --- mastodon/accounts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mastodon/accounts.py b/mastodon/accounts.py index bbcbf49..47e2436 100644 --- a/mastodon/accounts.py +++ b/mastodon/accounts.py @@ -141,7 +141,7 @@ class Mastodon(Internals): Does not require authentication for publicly visible accounts. """ ids = [self.__unpack_id(id) for id in ids] - return self.__api_request('GET', '/api/v1/accounts', {"id": ids}) + return self.__api_request('GET', '/api/v1/accounts', {"id[]": ids}) @api_version("1.0.0", "2.1.0", _DICT_VERSION_ACCOUNT) def account_verify_credentials(self) -> Account: