Skip to content

Commit

Permalink
Added default access
Browse files Browse the repository at this point in the history
  • Loading branch information
james-pre committed Nov 6, 2023
1 parent b036c2a commit 72df3f3
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 @@ -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,
Expand Down

0 comments on commit 72df3f3

Please sign in to comment.