From 72df3f3f43c95effd41e8ae4d7b8eb0e43d81328 Mon Sep 17 00:00:00 2001 From: "Dr. Vortex" Date: Sun, 5 Nov 2023 19:23:12 -0600 Subject: [PATCH] Added default access --- src/account.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/account.ts b/src/account.ts index 82c8bc2..ff2cda7 100644 --- a/src/account.ts +++ b/src/account.ts @@ -186,7 +186,7 @@ export function getAccountRole(type: AccountType, short?: boolean): string { * @param account the account to strip info from * @returns a new object without the stripped info */ -export function stripAccountInfo(account: Account, access: Access): Account { +export function stripAccountInfo(account: Account, access: Access = Access.PUBLIC): Account { const info = { id: account.id, username: account.username,