mirror of
https://github.com/fosrl/pangolin.git
synced 2025-10-29 21:57:17 +00:00
Fix type error
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user