Updated validations for websites.

This commit is contained in:
Mike Cao committed 2023-10-04 19:22:26 -07:00
1 parent 5c933d1c4a
commit 1325abe31d
3 files changed
+7 -13

No files matched your search

+1 -1
View File
@@ -24,7 +24,7 @@ const schema = {
POST: yup.object().shape({
name: yup.string().max(100).required(),
domain: yup.string().max(500).required(),
shareId: yup.string().max(50),
shareId: yup.string().max(50).nullable(),
}),
};