changed validation msg for bucket label to bucket

This commit is contained in:
Pramod Mahajan 2025-06-11 18:54:03 +05:30
parent f14644b3b4
commit 7932f847f6

View File

@ -39,7 +39,7 @@ export const ContactSchema = z
})
)
.min(1, { message: "At least one tag is required" }),
bucketIds: z.array(z.string()).nonempty({ message: "At least one label is required" })
bucketIds: z.array(z.string()).nonempty({ message: "At least one bucket is required" })
})
// .refine((data) => {