fix: optional website

main
SevicheCC 2023-06-26 23:24:36 +08:00
parent f8e5909ddd
commit ab79d786b2
Signed by: SevicheCC
GPG Key ID: C577000000000000
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ const formSchema = z.object({
clientName: z.string().trim(),
redirectUris: z.string().trim(),
scopes: z.string().array().nonempty().optional(),
website: z.string().url().trim().optional(),
website: z.string().trim().optional(),
});
export type FormSchema = z.infer<typeof formSchema>;