Skip to content

Commit

Permalink
Changed parameter type of stripAccountInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
james-pre committed Nov 4, 2023
1 parent 3b97ce2 commit e095852
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 @@ -247,7 +247,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: FullAccount): Account {
export function stripAccountInfo(account: Account): Account {
return {
id: account.id,
username: account.username,
Expand Down

0 comments on commit e095852

Please sign in to comment.