Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
james-pre committed Nov 17, 2023
1 parent dd43207 commit 37719a1
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 @@ -340,7 +340,7 @@ export async function getAccount(id: string, access?: Access): Promise<Account>;
export async function getAccount(key: UniqueAccountKey, value?: string, access?: Access): Promise<Account>;
export async function getAccount(key: string, value?: string | Access, access?: Access): Promise<Account> {
if (!accountAttributes.includes(key)) {
if(typeof value == 'number') {
if (typeof value == 'number') {
access = value;
}
[key, value] = ['id', key];
Expand Down

0 comments on commit 37719a1

Please sign in to comment.