Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
james-pre committed Nov 5, 2023
1 parent c3e58e3 commit 79ff4af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/account.ts
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ export async function deleteAccount(id: string, reason?: string): Promise<void>
*/
export async function getAccount(id: string): Promise<Account>;
export async function getAccount(key: string, value?: string): Promise<Account> {
if(!(key in accountAttributes)) {
if (!(key in accountAttributes)) {
[key, value] = ['id', key];
}
checkAccountAttribute(key as keyof FullAccount, value);
Expand Down

0 comments on commit 79ff4af

Please sign in to comment.