From 8bcb2b3b0f270997aaa8f82660a9d1a24ba75400 Mon Sep 17 00:00:00 2001 From: Owen Date: Sat, 23 Aug 2025 15:30:03 -0700 Subject: [PATCH] Fix type error --- cli/commands/setAdminCredentials.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cli/commands/setAdminCredentials.ts b/cli/commands/setAdminCredentials.ts index 84a6c795..91a6bcf7 100644 --- a/cli/commands/setAdminCredentials.ts +++ b/cli/commands/setAdminCredentials.ts @@ -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);