From 37719a10880bae32ba7b3d5ac5f516cda0020a38 Mon Sep 17 00:00:00 2001 From: dr-vortex Date: Fri, 17 Nov 2023 14:27:19 -0600 Subject: [PATCH] Formatting --- src/account.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/account.ts b/src/account.ts index e5da927..c5efa6e 100644 --- a/src/account.ts +++ b/src/account.ts @@ -340,7 +340,7 @@ export async function getAccount(id: string, access?: Access): Promise; export async function getAccount(key: UniqueAccountKey, value?: string, access?: Access): Promise; export async function getAccount(key: string, value?: string | Access, access?: Access): Promise { if (!accountAttributes.includes(key)) { - if(typeof value == 'number') { + if (typeof value == 'number') { access = value; } [key, value] = ['id', key];