Removed password from accounts query. Closes #1153.

This commit is contained in:
Mike Cao 2022-06-26 23:09:34 -07:00
parent 4fa3c1a0f6
commit ca385af8c4

View File

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