Removed password from accounts query. Closes #1153.

pull/1227/head
Mike Cao 2022-06-26 23:09:34 -07:00
parent 4fa3c1a0f6
commit ca385af8c4
1 changed files with 7 additions and 0 deletions

View File

@ -315,6 +315,13 @@ export async function getAccounts() {
username: 'asc', username: 'asc',
}, },
], ],
select: {
user_id: true,
username: true,
is_admin: true,
created_at: true,
updated_at: true,
},
}), }),
); );
} }