Fix type error

This commit is contained in:
Owen 2025-08-23 15:30:03 -07:00
parent 32ba17cf91
commit 8bcb2b3b0f
No known key found for this signature in database
GPG key ID: 8271FDFFD9E0CCBD

View file

@ -32,7 +32,8 @@ export const setAdminCredentials: CommandModule<{}, SetAdminCredentialsArgs> = {
},
handler: async (argv: { email: string; password: string }) => {
try {
const { email, password } = argv;
const { password } = argv;
let { email } = argv;
email = email.trim().toLowerCase();
const parsed = passwordSchema.safeParse(password);