From 9d84129e151bf76591a5652a27e6f77ecac6fc84 Mon Sep 17 00:00:00 2001 From: "Dr. Vortex" Date: Sun, 5 Nov 2023 19:02:29 -0600 Subject: [PATCH] Fixed info endpoint method --- src/account.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/account.ts b/src/account.ts index ce1fb16..1f6068d 100644 --- a/src/account.ts +++ b/src/account.ts @@ -313,6 +313,6 @@ export async function getAccount(key: string, value?: string): Promise [key, value] = ['id', key]; } checkAccountAttribute(key as keyof FullAccount, value); - const result = await request('GET', 'account/info', { action: 'get', [key]: value }); + const result = await request('POST', 'account/info', { action: 'get', [key]: value }); return parseAccount(result); }